Correct function name in error

This commit is contained in:
sin 2013-09-17 16:44:45 +01:00
parent d8a51e73b9
commit 7763d75d7a
1 changed files with 1 additions and 1 deletions

2
halt.c
View File

@ -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;
}