summaryrefslogtreecommitdiff
path: root/usr.bin/mg/main.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-05-23 23:29:49 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-05-23 23:29:49 +0000
commite7a62e8b70512d812cef6b70fd4e322f433d557b (patch)
tree88b8cc78f626da6c454f8d1c617cf0100bb0a50a /usr.bin/mg/main.c
parentdb83c7d6226b74232b49ac18d7337c50194f21be (diff)
cinfo is const, keyname() and findbind() take buffer size to use strlcpy vs cpy+len
Diffstat (limited to 'usr.bin/mg/main.c')
-rw-r--r--usr.bin/mg/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c
index f2a52185ec7..abd5c34cba0 100644
--- a/usr.bin/mg/main.c
+++ b/usr.bin/mg/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.8 2001/05/23 22:36:15 art Exp $ */
+/* $OpenBSD: main.c,v 1.9 2001/05/23 23:29:48 mickey Exp $ */
/*
* Mainline.
@@ -61,7 +61,6 @@ main(argc, argv)
thisflag = 0;
for (;;) {
#ifndef NO_DPROMPT
- *(promptp = prompt) = '\0';
if (epresf == KPROMPT)
eerase();
#endif /* !NO_DPROMPT */