aboutsummaryrefslogtreecommitdiff
path: root/sbin/shutdown
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2012-08-01 09:10:21 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2012-08-01 09:10:21 +0000
commit39faed57b68ed9ce138617489f573d1ad48be6eb (patch)
tree3dff6bdeacad45b83034f44d2144b97ecc132ab4 /sbin/shutdown
parentb9aee262e5a12637b8074ec90edc1942566a23b2 (diff)
downloadsrc-39faed57b68ed9ce138617489f573d1ad48be6eb.tar.gz
src-39faed57b68ed9ce138617489f573d1ad48be6eb.zip
Restore a piece of BSD history.
PR: 169127 Submitted by: Ruben de Groot <ruben@hacktor.com> MFC after: 1 week
Notes
Notes: svn path=/head/; revision=238968
Diffstat (limited to 'sbin/shutdown')
-rw-r--r--sbin/shutdown/shutdown.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c
index 05d73a97a7ac..f53b3d8c98f9 100644
--- a/sbin/shutdown/shutdown.c
+++ b/sbin/shutdown/shutdown.c
@@ -93,7 +93,7 @@ static char mbuf[BUFSIZ];
static const char *nosync, *whom;
static void badtime(void);
-static void perform_shutdown(void);
+static void die_you_gravy_sucking_pig_dog(void);
static void finish(int);
static void getoffset(char *);
static void loop(void);
@@ -282,7 +282,7 @@ loop(void)
if (!tp->timeleft)
break;
}
- perform_shutdown();
+ die_you_gravy_sucking_pig_dog();
}
static jmp_buf alarmbuf;
@@ -349,7 +349,7 @@ timeout(int signo __unused)
}
static void
-perform_shutdown(void)
+die_you_gravy_sucking_pig_dog(void)
{
char *empty_environ[] = { NULL };