From ee3140752f7aa17185e733c3ad97551522c4fc77 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 22 Feb 2012 13:02:17 +0100 Subject: libmount: cleanup docs Signed-off-by: Karel Zak --- libmount/src/lock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmount/src/lock.c') diff --git a/libmount/src/lock.c b/libmount/src/lock.c index 682c74acb..73dc6c8f7 100644 --- a/libmount/src/lock.c +++ b/libmount/src/lock.c @@ -298,7 +298,7 @@ static int mnt_wait_mtab_lock(struct libmnt_lock *ml, struct flock *fl, time_t m * * Where does the link point to? Obvious choices are mtab and mtab~~. * HJLu points out that the latter leads to races. Right now we use - * mtab~. instead. + * mtab~.pid instead. * * * The original mount locking code has used sleep(1) between attempts and @@ -319,7 +319,7 @@ static int mnt_wait_mtab_lock(struct libmnt_lock *ml, struct flock *fl, time_t m * backwardly compatible code. * * Don't forget that this code has to be compatible with 3rd party mounts - * (/sbin/mount.) and has to work with NFS. + * (/sbin/mount.foo) and has to work with NFS. * -- kzak@redhat.com [May-2009] */ -- cgit v1.2.3-55-g7522