summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authormurray <murray@FreeBSD.org>2001-09-14 08:39:22 +0000
committermurray <murray@FreeBSD.org>2001-09-14 08:39:22 +0000
commit0aa2be726763692056815343537b87a7a150b47b (patch)
tree68a533740577651c58bc3fcffea1c93199e4cf20 /usr.sbin/sysinstall
parent2168ec3a503c92949bdc6b5fc7da1c405e3c4023 (diff)
downloadFreeBSD-src-0aa2be726763692056815343537b87a7a150b47b.zip
FreeBSD-src-0aa2be726763692056815343537b87a7a150b47b.tar.gz
Whitespace change only. Use the same indention level throughout this
file and add a blank line after variable declarations. Submitted by: jhb
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/system.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c
index dc3e833..077cf82 100644
--- a/usr.sbin/sysinstall/system.c
+++ b/usr.sbin/sysinstall/system.c
@@ -42,29 +42,29 @@ static pid_t ehs_pid;
static int
intr_continue(dialogMenuItem *self)
{
- return DITEM_LEAVE_MENU;
+ return DITEM_LEAVE_MENU;
}
static int
intr_reboot(dialogMenuItem *self)
{
- systemShutdown(-1);
- /* NOTREACHED */
- return 0;
+ systemShutdown(-1);
+ /* NOTREACHED */
+ return 0;
}
static int
intr_restart(dialogMenuItem *self)
{
- execl(StartName, StartName, (char *)NULL);
- /* NOTREACHED */
- return -1;
+ execl(StartName, StartName, (char *)NULL);
+ /* NOTREACHED */
+ return -1;
}
static dialogMenuItem intrmenu[] = {
- { "Abort", "Abort the installation", NULL, intr_reboot },
- { "Restart", "Restart the installation program", NULL, intr_restart },
- { "Continue", "Continue the installation", NULL, intr_continue },
+ { "Abort", "Abort the installation", NULL, intr_reboot },
+ { "Restart", "Restart the installation program", NULL, intr_restart },
+ { "Continue", "Continue the installation", NULL, intr_continue },
};
@@ -92,7 +92,8 @@ static void
reap_children(int sig)
{
int errbak = errno;
- while ( waitpid(-1, NULL, WNOHANG) > 0 )
+
+ while (waitpid(-1, NULL, WNOHANG) > 0)
;
errno = errbak;
}
OpenPOWER on IntegriCloud