summaryrefslogtreecommitdiff
path: root/usr.bin/su/su.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1996-10-12 17:13:58 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1996-10-12 17:13:58 +0000
commit543e98091697af33d3b0e79ae7db5b31d3542ec4 (patch)
tree8fc35b8b36b74bf1ad6c248f2102621c1823dc70 /usr.bin/su/su.c
parentea0de2dc4c4d0389fa56c82a1ca2da8eb57ec157 (diff)
Fix suage string to match man page. NetBSD PR #2837
Diffstat (limited to 'usr.bin/su/su.c')
-rw-r--r--usr.bin/su/su.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c
index 6c23ab545f6..9ba66b8153b 100644
--- a/usr.bin/su/su.c
+++ b/usr.bin/su/su.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: su.c,v 1.6 1996/10/08 18:36:56 deraadt Exp $ */
+/* $OpenBSD: su.c,v 1.7 1996/10/12 17:13:57 millert Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@@ -41,7 +41,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)su.c 5.26 (Berkeley) 7/6/91";*/
-static char rcsid[] = "$OpenBSD: su.c,v 1.6 1996/10/08 18:36:56 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: su.c,v 1.7 1996/10/12 17:13:57 millert Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -110,7 +110,8 @@ main(argc, argv)
break;
case '?':
default:
- (void)fprintf(stderr, "usage: su [%s] [login]\n",
+ (void)fprintf(stderr,
+ "usage: su [%s] [login [shell arguments]]\n",
ARGSTR);
exit(1);
}