diff options
author | 2004-07-24 16:57:43 +0000 | |
---|---|---|
committer | 2004-07-24 16:57:43 +0000 | |
commit | f16b7e0eb151c3ff6600b193b7e51acb43bc0171 (patch) | |
tree | 1405dae06b06724170adf18d9580d11a9833bede | |
parent | intr_establish() and related defines are mvme88k-only, so move them back from (diff) | |
download | wireguard-openbsd-f16b7e0eb151c3ff6600b193b7e51acb43bc0171.tar.xz wireguard-openbsd-f16b7e0eb151c3ff6600b193b7e51acb43bc0171.zip |
Print a newline before the message in kbintr. Otherwise the message
ends up on the same line as the prompt.
-rw-r--r-- | usr.bin/passwd/local_passwd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/passwd/local_passwd.c b/usr.bin/passwd/local_passwd.c index 8145931733c..358afd8c87a 100644 --- a/usr.bin/passwd/local_passwd.c +++ b/usr.bin/passwd/local_passwd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: local_passwd.c,v 1.33 2004/07/13 21:09:48 millert Exp $ */ +/* $OpenBSD: local_passwd.c,v 1.34 2004/07/24 16:57:43 millert Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -31,7 +31,7 @@ #ifndef lint /*static const char sccsid[] = "from: @(#)local_passwd.c 5.5 (Berkeley) 5/6/91";*/ -static const char rcsid[] = "$OpenBSD: local_passwd.c,v 1.33 2004/07/13 21:09:48 millert Exp $"; +static const char rcsid[] = "$OpenBSD: local_passwd.c,v 1.34 2004/07/24 16:57:43 millert Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -208,6 +208,7 @@ getnewpasswd(struct passwd *pw, login_cap_t *lc, int authenticated) void kbintr(int signo) { + write(STDOUT_FILENO, "\n", 1); write(STDOUT_FILENO, UNCHANGED_MSG, sizeof(UNCHANGED_MSG) - 1); _exit(0); } |