Module Name: src
Committed By: wiz
Date: Fri Apr 27 06:30:48 UTC 2012
Modified Files:
src/usr.bin/logger: logger.c
Log Message:
Sync usage with SYNOPSIS.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/logger/logger.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/logger/logger.c
diff -u src/usr.bin/logger/logger.c:1.16 src/usr.bin/logger/logger.c:1.17
--- src/usr.bin/logger/logger.c:1.16 Thu Apr 26 21:11:24 2012
+++ src/usr.bin/logger/logger.c Fri Apr 27 06:30:48 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: logger.c,v 1.16 2012/04/26 21:11:24 christos Exp $ */
+/* $NetBSD: logger.c,v 1.17 2012/04/27 06:30:48 wiz Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19
#if 0
static char sccsid[] = "@(#)logger.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: logger.c,v 1.16 2012/04/26 21:11:24 christos Exp $");
+__RCSID("$NetBSD: logger.c,v 1.17 2012/04/27 06:30:48 wiz Exp $");
#endif /* not lint */
#include <errno.h>
@@ -196,8 +196,8 @@ usage(void)
{
(void)fprintf(stderr,
- "Usage: %s [-cins] [-f file] [-p pri] [-t tag] "
- "[-m msgid] [-d SD] [ message ... ]\n",
+ "Usage: %s [-cins] [-d SD] [-f file] [-m msgid] "
+ "[-p pri] [-t tag] [message ...]\n",
getprogname());
exit(EXIT_FAILURE);
}