summaryrefslogtreecommitdiffstats
path: root/commands/poweroff.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/poweroff.c')
-rw-r--r--commands/poweroff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/poweroff.c b/commands/poweroff.c
index e8c726a7f2..bbafa13bd0 100644
--- a/commands/poweroff.c
+++ b/commands/poweroff.c
@@ -19,10 +19,11 @@
#include <common.h>
#include <command.h>
+#include <poweroff.h>
static int cmd_poweroff(int argc, char *argv[])
{
- poweroff();
+ poweroff_machine();
/* Not reached */
return 1;