summaryrefslogtreecommitdiffstats
path: root/shlibs
diff options
context:
space:
mode:
authorKarel Zak2010-11-02 13:52:47 +0100
committerKarel Zak2011-01-03 12:28:46 +0100
commita7fd8a36749578b450f7886762c145259d603694 (patch)
tree45bfd738849a4b2ced3556838639608ee64b7969 /shlibs
parentlibmount: add functions get mtab/utab paths (diff)
downloadkernel-qcow2-util-linux-a7fd8a36749578b450f7886762c145259d603694.tar.gz
kernel-qcow2-util-linux-a7fd8a36749578b450f7886762c145259d603694.tar.xz
kernel-qcow2-util-linux-a7fd8a36749578b450f7886762c145259d603694.zip
libmount: fix comment for mnt_unlock_file()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs')
-rw-r--r--shlibs/mount/src/lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/mount/src/lock.c b/shlibs/mount/src/lock.c
index 9149c7b90..d8043121d 100644
--- a/shlibs/mount/src/lock.c
+++ b/shlibs/mount/src/lock.c
@@ -297,7 +297,7 @@ void mnt_unlock_file(mnt_lock *ml)
* int sig = 0;
* const char *mtab;
*
- * if (!(mtab = mnt_get_writable_mtab_path()))
+ * if (!(mtab = mnt_get_mtab_path()))
* return 0; // system without mtab
* if (!(ml = mnt_new_lock(mtab, 0)))
* return -1; // error