]> err.no Git - util-linux/commitdiff
libmount: fix comment for mnt_unlock_file()
authorKarel Zak <kzak@redhat.com>
Tue, 2 Nov 2010 12:52:47 +0000 (13:52 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 3 Jan 2011 11:28:46 +0000 (12:28 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
shlibs/mount/src/lock.c

index 9149c7b90b84d0f646d435b184c3b8bf034af4e3..d8043121d852f07417c836bbc2c45025d8ec7c8c 100644 (file)
@@ -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