blob: 229321a1ec476c8893b98784da21a76af8418bc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$NetBSD: patch-ap,v 1.5 2001/09/10 08:23:19 skrll Exp $
--- kfm/kiojob.cpp.orig Wed May 5 23:10:12 1999
+++ kfm/kiojob.cpp
@@ -163,10 +163,11 @@
server->getSlave( this );
}
-void KIOJob::unmount( const char *_point )
+void KIOJob::unmount( const char* _dev, const char *_point )
{
action = KIOJob::JOB_UNMOUNT;
-
+
+ mntDev = _dev;
mntPoint = _point;
mntPoint.detach();
@@ -1850,7 +1851,7 @@
if ( action == KIOJob::JOB_MOUNT )
slave->mount( mntReadOnly, mntFSType.data(), mntDev.data(), mntPoint.data() );
else
- slave->unmount( mntPoint.data() );
+ slave->unmount( mntDev.data() );
}
break;
case KIOJob::JOB_LIST:
|