summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1996-10-12 17:13:57 +0000
committermillert <millert@openbsd.org>1996-10-12 17:13:57 +0000
commite4d463c3c42d6e7437f6b573dbe0a038dd3416f7 (patch)
treefdd99a3ccb7f9baf3eea0fc85bd108aadec90ccc
parentArgh, fix a stupid typo (diff)
downloadwireguard-openbsd-e4d463c3c42d6e7437f6b573dbe0a038dd3416f7.tar.xz
wireguard-openbsd-e4d463c3c42d6e7437f6b573dbe0a038dd3416f7.zip
Fix suage string to match man page. NetBSD PR #2837
-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);
}