summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/su/su.c4
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
OpenPOWER on IntegriCloud