From: Karel Zak Date: Tue, 2 Nov 2010 12:52:47 +0000 (+0100) Subject: libmount: fix comment for mnt_unlock_file() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7fd8a36749578b450f7886762c145259d603694;p=util-linux libmount: fix comment for mnt_unlock_file() Signed-off-by: Karel Zak --- 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