diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-18 14:11:16 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-18 14:11:16 +0000 |
commit | a2aa8e6d938599429cc618b57d5f766d09743aa9 (patch) | |
tree | 136aea534df5734ac1bf034b6c576bcf286f887d /usr.sbin/sysinstall/msg.c | |
parent | d208d0f83e4736d51b849d636820a8cf31c9b3a9 (diff) | |
download | FreeBSD-src-a2aa8e6d938599429cc618b57d5f766d09743aa9.zip FreeBSD-src-a2aa8e6d938599429cc618b57d5f766d09743aa9.tar.gz |
Add some more debugging information and fix a few missing newlines.
Diffstat (limited to 'usr.sbin/sysinstall/msg.c')
-rw-r--r-- | usr.sbin/sysinstall/msg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/msg.c b/usr.sbin/sysinstall/msg.c index 2fc05f0..b38be4c 100644 --- a/usr.sbin/sysinstall/msg.c +++ b/usr.sbin/sysinstall/msg.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: msg.c,v 1.11 1995/05/16 11:37:23 jkh Exp $ + * $Id: msg.c,v 1.12 1995/05/18 12:57:54 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -189,7 +189,7 @@ msgNotify(char *fmt, ...) va_end(args); use_helpline(NULL); use_helpfile(NULL); - msgDebug("%s\n", errstr); + msgDebug("[%s]\n", errstr); w = dupwin(newscr); dialog_msgbox("Information Dialog", errstr, -1, -1, 0); touchwin(w); @@ -218,7 +218,7 @@ msgYesNo(char *fmt, ...) touchwin(w); wrefresh(w); delwin(w); - msgDebug("User answers %s to \"%s\"\n", ret ? "no" : "yes", errstr); + msgDebug("[User answers %s to \"%s\"]\n", ret ? "no" : "yes", errstr); free(errstr); return ret; } @@ -248,7 +248,7 @@ msgGetInput(char *buf, char *fmt, ...) touchwin(w); wrefresh(w); delwin(w); - msgDebug("input request \"%s\" returns %d status", errstr, rval); + msgDebug("[input request \"%s\" returns %d status]\n", errstr, rval); free(errstr); if (!rval) return input_buffer; |