summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-08-24 06:49:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-08-24 06:49:31 +0000
commit9c2280fe0d400e1938d153a2836b7339848c4f96 (patch)
treef351da4b8728276c5c6998543381cb5a39ff0952 /bin
parent9e2f90df0a7238db25fa7b643caf0dd1b6b7baba (diff)
correct -sane error msg; steve@freebsd
Diffstat (limited to 'bin')
-rw-r--r--bin/stty/key.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/stty/key.c b/bin/stty/key.c
index ea3d784bb52..b3f680304b6 100644
--- a/bin/stty/key.c
+++ b/bin/stty/key.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: key.c,v 1.7 1997/07/23 19:26:47 kstailey Exp $ */
+/* $OpenBSD: key.c,v 1.8 1997/08/24 06:49:30 deraadt Exp $ */
/* $NetBSD: key.c,v 1.11 1995/09/07 06:57:11 jtc Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)key.c 8.4 (Berkeley) 2/20/95";
#else
-static char rcsid[] = "$OpenBSD: key.c,v 1.7 1997/07/23 19:26:47 kstailey Exp $";
+static char rcsid[] = "$OpenBSD: key.c,v 1.8 1997/08/24 06:49:30 deraadt Exp $";
#endif
#endif /* not lint */
@@ -133,7 +133,7 @@ ksearch(argvp, ip)
sizeof(keys)/sizeof(struct key), sizeof(struct key), c_key)))
return (0);
if (!(kp->flags & F_OFFOK) && ip->off) {
- warnx("illegal option -- %s", name);
+ warnx("illegal option -- -%s", name);
usage();
}
if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) {