diff options
author | murray <murray@FreeBSD.org> | 2001-09-14 08:39:22 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2001-09-14 08:39:22 +0000 |
commit | 0aa2be726763692056815343537b87a7a150b47b (patch) | |
tree | 68a533740577651c58bc3fcffea1c93199e4cf20 /usr.sbin | |
parent | 2168ec3a503c92949bdc6b5fc7da1c405e3c4023 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.sbin/sade/system.c | 23 | ||||
-rw-r--r-- | usr.sbin/sysinstall/system.c | 23 |
2 files changed, 24 insertions, 22 deletions
diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c index dc3e833..077cf82 100644 --- a/usr.sbin/sade/system.c +++ b/usr.sbin/sade/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; } 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; } |