Fatal() fixed:
end_dialog() called too early here.
This commit is contained in:
parent
2592b4e4e5
commit
1ccea3128a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3771
@ -6,7 +6,7 @@
|
|||||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
* 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);
|
va_start(ap,fmt);
|
||||||
vsnprintf(p, 2048, fmt, ap);
|
vsnprintf(p, 2048, fmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
if (dialog_active) {
|
if (dialog_active)
|
||||||
dialog_msgbox("Fatal", p, 12, 75, 1);
|
dialog_msgbox("Fatal", p, 12, 75, 1);
|
||||||
end_dialog();
|
else
|
||||||
} else
|
|
||||||
fprintf(stderr, "Fatal -- %s", p);
|
fprintf(stderr, "Fatal -- %s", p);
|
||||||
free(p);
|
free(p);
|
||||||
ExitSysinstall();
|
ExitSysinstall();
|
||||||
|
Loading…
Reference in New Issue
Block a user