Don't give exit() a parameter, as libstand version doesn't take one.
This commit is contained in:
parent
1caabb110e
commit
3e90f302b6
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: main.c,v 1.14 1998/08/13 17:41:10 rvb Exp $ */
|
||||
/* $NetBSD: main.c,v 1.15 1999/02/12 05:14:22 cjs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997
|
||||
|
@ -306,7 +306,7 @@ command_quit(arg)
|
|||
reboot();
|
||||
/* Note: we shouldn't get to this point! */
|
||||
panic("Could not reboot!");
|
||||
exit(0);
|
||||
exit();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: main.c,v 1.10 1997/11/03 18:17:19 drochner Exp $ */
|
||||
/* $NetBSD: main.c,v 1.11 1999/02/12 05:14:23 cjs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997
|
||||
|
@ -334,7 +334,7 @@ command_quit(arg)
|
|||
char *arg;
|
||||
{
|
||||
printf("Exiting... goodbye...\n");
|
||||
exit(0);
|
||||
exit();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: panic.c,v 1.2 1997/03/22 01:48:36 thorpej Exp $ */
|
||||
/* $NetBSD: panic.c,v 1.3 1999/02/12 05:14:23 cjs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996
|
||||
|
@ -50,5 +50,5 @@ panic(const char *fmt,...)
|
|||
printf("\n");
|
||||
va_end(ap);
|
||||
|
||||
exit(1);
|
||||
exit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue