src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 85770bca88ebc8d9218d9d3a5874c4f717e723d2 Author: David Teigland teigland@redhat.com Date: Fri Feb 1 15:23:57 2013 -0600
sanlock: fix usage output typos
Signed-off-by: David Teigland teigland@redhat.com
diff --git a/src/main.c b/src/main.c index 3444f0c..28f21da 100644 --- a/src/main.c +++ b/src/main.c @@ -1766,7 +1766,7 @@ static void print_usage(void) printf(" -D no fork and print all logging to stderr\n"); printf(" -Q 0|1 quiet error messages for common lock contention (0)\n"); printf(" -R 0|1 renewal debugging, log debug info about renewals (0)\n"); - printf(" -L <pri> write logging at priority level and up to logfile (3 LOG_ERR))\n"); + printf(" -L <pri> write logging at priority level and up to logfile (3 LOG_ERR)\n"); printf(" (use -1 for none)\n"); printf(" -S <pri> write logging at priority level and up to syslog (3 LOG_ERR)\n"); printf(" (use -1 for none)\n"); @@ -1776,7 +1776,7 @@ static void print_usage(void) printf(" -g <sec> seconds for graceful recovery (%d)\n", DEFAULT_GRACE_SEC); printf(" -w 0|1 use watchdog through wdmd (%d)\n", DEFAULT_USE_WATCHDOG); printf(" -h 0|1 use high priority (RR) scheduling (%d)\n", DEFAULT_HIGH_PRIORITY); - printf(" -l <num> use mlockall (0 none, 1 current, 2 current and future) (2)\n"); + printf(" -l <num> use mlockall (0 none, 1 current, 2 current and future) (%d)\n", DEFAULT_MLOCK_LEVEL); printf(" -a 0|1 use async io (%d)\n", DEFAULT_USE_AIO); printf(" -o 0|1 io timeout in seconds (%d)\n", DEFAULT_IO_TIMEOUT); printf("\n");
sanlock-devel@lists.fedorahosted.org