diff options
author | Sebastian Rasmussen | 2016-05-29 23:11:53 +0200 |
---|---|---|
committer | Sebastian Rasmussen | 2016-05-31 23:40:21 +0200 |
commit | 9e93004171eb0c4c288051b2d7bb37f97a0ae430 (patch) | |
tree | 369493906bb3c1c6f2554609c737ada0230f4b2e /libmount/src/lock.c | |
parent | docs: Fix various typos (diff) | |
download | kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.gz kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.xz kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.zip |
misc: Fix various typos
Fix various typos in error messages, warnings, debug strings,
comments and names of static functions.
Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
Diffstat (limited to 'libmount/src/lock.c')
-rw-r--r-- | libmount/src/lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmount/src/lock.c b/libmount/src/lock.c index 4076a23f2..c3cd226f4 100644 --- a/libmount/src/lock.c +++ b/libmount/src/lock.c @@ -508,11 +508,11 @@ failed: * * 1. create linkfile (e.g. /etc/mtab~.$PID) * 2. link linkfile --> lockfile (e.g. /etc/mtab~.$PID --> /etc/mtab~) - * 3. a) link() success: setups F_SETLK lock (see fcnlt(2)) + * 3. a) link() success: setups F_SETLK lock (see fcntl(2)) * b) link() failed: wait (max 30s) on F_SETLKW lock, goto 2. * * Note that when the lock is used by mnt_update_table() interface then libmount - * uses flock() for private library file /run/mount/utab. The fcnlt(2) is used only + * uses flock() for private library file /run/mount/utab. The fcntl(2) is used only * for backwardly compatible stuff like /etc/mtab. * * Returns: 0 on success or negative number in case of error (-ETIMEOUT is case |