summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-10-22 02:37:24 +0000
committerache <ache@FreeBSD.org>1994-10-22 02:37:24 +0000
commit60e2b6706cf8fe454895867118bf817be2d75bbc (patch)
tree27448edf4c7db605d50625c4f40dc08d48aca723
parent064eef20b0f47d903ffb514d46f981018138e335 (diff)
downloadFreeBSD-src-60e2b6706cf8fe454895867118bf817be2d75bbc.zip
FreeBSD-src-60e2b6706cf8fe454895867118bf817be2d75bbc.tar.gz
Fatal() fixed:
end_dialog() called too early here.
-rw-r--r--sbin/sysinstall/utils.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sbin/sysinstall/utils.c b/sbin/sysinstall/utils.c
index 9686eb9..d7f0778 100644
--- a/sbin/sysinstall/utils.c
+++ b/sbin/sysinstall/utils.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: utils.c,v 1.8 1994/10/22 02:32:16 ache Exp $
+ * $Id: utils.c,v 1.9 1994/10/22 02:35:09 ache Exp $
*
*/
@@ -50,10 +50,9 @@ Fatal(char *fmt, ...)
va_start(ap,fmt);
vsnprintf(p, 2048, fmt, ap);
va_end(ap);
- if (dialog_active) {
+ if (dialog_active)
dialog_msgbox("Fatal", p, 12, 75, 1);
- end_dialog();
- } else
+ else
fprintf(stderr, "Fatal -- %s", p);
free(p);
ExitSysinstall();
OpenPOWER on IntegriCloud