From 7763d75d7a4d88a3bfb39c42883509bed3e40bf8 Mon Sep 17 00:00:00 2001 From: sin Date: Tue, 17 Sep 2013 16:44:45 +0100 Subject: [PATCH] Correct function name in error --- halt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/halt.c b/halt.c index 510e595..2928862 100644 --- a/halt.c +++ b/halt.c @@ -43,6 +43,6 @@ main(int argc, char *argv[]) if (syscall(__NR_reboot, LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, cmd, NULL) < 0) - eprintf("halt:"); + eprintf("reboot:"); return 0; }