summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/kdebase/kdebase-3.5.3-fix-media-fuser.patch
blob: 909419489846abedaba715366bcdbc514743e7ce (plain)
1
2
3
4
5
6
7
8
9
10
11
--- kdebase-3.5.6/kioslave/media/mediamanager/halbackend.cpp--	2007-02-05 09:05:15.000000000 +0100
+++ kdebase-3.5.6/kioslave/media/mediamanager/halbackend.cpp	2007-02-05 09:05:22.000000000 +0100
@@ -1008,7 +1008,7 @@
 TQString HALBackend::listUsingProcesses(const Medium* medium)
 {
     TQString proclist, fullmsg;
-    TQString cmdline = TQString("/usr/bin/env fuser -vm %1 2>&1").arg(KProcess::quote(medium->mountPoint()));
+    TQString cmdline = TQString("/usr/bin/env /sbin/fuser -vm %1 2>&1").arg(KProcess::quote(medium->mountPoint()));
     FILE *fuser = popen(cmdline.latin1(), "r");
 
     uint counter = 0;