summaryrefslogtreecommitdiff
path: root/shlibs
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2010-11-02 13:52:47 +0100
committerKarel Zak <kzak@redhat.com>2011-01-03 12:28:46 +0100
commita7fd8a36749578b450f7886762c145259d603694 (patch)
tree45bfd738849a4b2ced3556838639608ee64b7969 /shlibs
parentb37dd175208207772c4e511ea7ba01f22f599f52 (diff)
downloadutil-linux-old-a7fd8a36749578b450f7886762c145259d603694.tar.gz
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 9149c7b9..d8043121 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