summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2010-05-18 16:19:09 +0200
committerKarel Zak <kzak@redhat.com>2010-06-03 15:20:13 +0200
commitcbec3cbfd5f0a307697ed1a36fd6eeb27ccbe3bb (patch)
treecac32d3402ac3a507b92b30227e88ddc68ca56e5
parente7baa9710507aab9440e3a7bc61830897f465dd7 (diff)
downloadutil-linux-old-cbec3cbfd5f0a307697ed1a36fd6eeb27ccbe3bb.tar.gz
findmnt: small change in usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--misc-utils/findmnt.c4
-rw-r--r--shlibs/mount/src/lock.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c
index 297b886c..a7551cb6 100644
--- a/misc-utils/findmnt.c
+++ b/misc-utils/findmnt.c
@@ -458,8 +458,8 @@ static int __attribute__((__noreturn__)) usage(FILE *out)
fprintf(out, _(
"\nOptions:\n"
" -s, --fstab search in static table of filesystems\n"
- " -m, --mtab search in table of mounted filesystems (default)\n"
- " -k, --kernel search in kernel (mountinfo) file\n\n"
+ " -m, --mtab search in table of mounted filesystems\n"
+ " -k, --kernel search in kernel (mountinfo) file (default)\n\n"
" -c, --canonicalize canonicalize printed paths\n"
" -d, --direction <word> search direction - 'forward' or 'backward'\n"
diff --git a/shlibs/mount/src/lock.c b/shlibs/mount/src/lock.c
index 2d1f30f4..0f35aa3b 100644
--- a/shlibs/mount/src/lock.c
+++ b/shlibs/mount/src/lock.c
@@ -253,7 +253,7 @@ void mnt_unlock_file(mnt_lock *ml)
}
/**
- * mnt_lock:
+ * mnt_lock_file
* @ml: pointer to mnt_lock instance
*
* Creates lock file (e.g. /etc/mtab~). Note that this function uses