summaryrefslogtreecommitdiffstats
path: root/src/klamscan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/klamscan.cpp')
-rw-r--r--src/klamscan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/klamscan.cpp b/src/klamscan.cpp
index 0015088..784398f 100644
--- a/src/klamscan.cpp
+++ b/src/klamscan.cpp
@@ -486,7 +486,7 @@ TQStringList Klamscan::pruneSelectedDirs(){
(*it) = (*it).stripWhiteSpace();
// replace block devices with mountpoints
- lstat( (*it), &sb );
+ lstat( (*it).ascii(), &sb );
if ( (sb.st_mode & S_IFMT) == S_IFBLK ) {
// This is actually from directorylist.cpp
DCOPRef mediamanager("kded", "mediamanager");