summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/msg.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-04 19:48:19 +0000
committerjkh <jkh@FreeBSD.org>1995-05-04 19:48:19 +0000
commit1c3e871d62424f6b9dc0b6ac3b71d0bc9214fd36 (patch)
treef1ca440208c6915223a9c5cef917d2269e64f2ea /usr.sbin/sysinstall/msg.c
parent35947edfc266ae5dc9fbe3da9c1339ed7e64dbc5 (diff)
downloadFreeBSD-src-1c3e871d62424f6b9dc0b6ac3b71d0bc9214fd36.zip
FreeBSD-src-1c3e871d62424f6b9dc0b6ac3b71d0bc9214fd36.tar.gz
This will now write MBR entries - should be enough for testing.
Diffstat (limited to 'usr.sbin/sysinstall/msg.c')
-rw-r--r--usr.sbin/sysinstall/msg.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/msg.c b/usr.sbin/sysinstall/msg.c
index a7bc625..e6c2ba2 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.2 1995/05/01 21:56:29 jkh Exp $
+ * $Id: msg.c,v 1.3 1995/05/04 03:51:21 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -191,7 +191,7 @@ msgYesNo(char *fmt, ...)
va_end(args);
use_helpline(NULL);
use_helpfile(NULL);
- ret = dialog_yesno("User Confirmation Request", errstr, -1, -1);
+ ret = dialog_yesno("Decision Required", errstr, -1, -1);
free(errstr);
return ret;
}
@@ -202,8 +202,7 @@ msgGetInput(char *buf, char *fmt, ...)
{
va_list args;
char *errstr;
- char *ret;
- static input_buffer[256];
+ static char input_buffer[256];
int rval;
errstr = (char *)malloc(FILENAME_MAX);
OpenPOWER on IntegriCloud