diff options
author | ru <ru@FreeBSD.org> | 2001-08-15 15:11:52 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-08-15 15:11:52 +0000 |
commit | 1d3bb7d67fcb0b61c25af647a6f34cfe75573c4f (patch) | |
tree | fe1e4f1c570c5344911860b611c1403b0e5ab15d /usr.bin/su/su.c | |
parent | c14d208cbde9ca7e7d4a7be9aef46db162c46ff6 (diff) | |
download | FreeBSD-src-1d3bb7d67fcb0b61c25af647a6f34cfe75573c4f.zip FreeBSD-src-1d3bb7d67fcb0b61c25af647a6f34cfe75573c4f.tar.gz |
Fixed the usage() string.
This also reverts change in rev. 1.36 to the documented
style of writing usage().
PR: bin/29730
Submitted by: Joseph Mallett <jmallett@xMach.org>
Diffstat (limited to 'usr.bin/su/su.c')
-rw-r--r-- | usr.bin/su/su.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c index 1664bec..79002df 100644 --- a/usr.bin/su/su.c +++ b/usr.bin/su/su.c @@ -441,7 +441,9 @@ ok_to_export(const char *s) static void usage(void) { - errx(1, "usage: su [%s] [login [args]]", ARGSTR); + + (void)fprintf(stderr, "usage: su [-] [-flm] [-c class] [login [args]]"); + exit(1); } static int |