aboutsummaryrefslogtreecommitdiff
path: root/release/sysinstall/msg.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1999-12-17 02:46:04 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1999-12-17 02:46:04 +0000
commit61547e027bece2dac236b534d9cee65c72b2ae6d (patch)
tree0fcfc7ae7e118c4b4d28ca18bf50a0d3eca583aa /release/sysinstall/msg.c
parent9639dc68d7eda2406d2b958ec07e2163b247c23b (diff)
Notes
Diffstat (limited to 'release/sysinstall/msg.c')
-rw-r--r--release/sysinstall/msg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/release/sysinstall/msg.c b/release/sysinstall/msg.c
index 3d7affe40fc6..499d70501a37 100644
--- a/release/sysinstall/msg.c
+++ b/release/sysinstall/msg.c
@@ -206,7 +206,6 @@ msgNotify(char *fmt, ...)
{
va_list args;
char *errstr;
- WINDOW *w = savescr();
errstr = (char *)alloca(FILENAME_MAX);
va_start(args, fmt);
@@ -217,8 +216,6 @@ msgNotify(char *fmt, ...)
if (isDebug())
msgDebug("Notify: %s\n", errstr);
dialog_msgbox(NULL, errstr, -1, -1, 0);
- sleep(1);
- restorescr(w);
}
/* Put up a message in a popup yes/no box and return 1 for YES, 0 for NO */
@@ -310,6 +307,7 @@ msgWeHaveOutput(char *fmt, ...)
use_helpfile(NULL);
msgDebug("Notify: %s\n", errstr);
dialog_clear_norefresh();
+ sleep(2);
dialog_msgbox(NULL, errstr, -1, -1, 0);
restorescr(w);
}