Follow-up to bd9bb92, missing API change

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2022-04-17 00:01:10 +02:00
parent bd9bb92ca0
commit 54dd726d16
+1 -1
View File
@@ -250,7 +250,7 @@ static int do_reboot(int cmd, char *buf, size_t len)
case INIT_CMD_SUSPEND:
_d("suspend");
sync();
rc = sys_suspend();
rc = suspend();
if (rc) {
if (errno == EINVAL)
snprintf(buf, len, "Kernel does not support suspend to RAM.");