mirror of
https://dev.iopsys.eu/system/sysmngr.git
synced 2025-12-10 00:06:19 +01:00
Fix compilation
This commit is contained in:
parent
158bf8fbb5
commit
70ca07fbc2
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ static void _exec_reboot(const void *arg1, void *arg2)
|
||||||
BBFDM_INFO("Reboot call failed with system, trying again with reboot rpc-sys...");
|
BBFDM_INFO("Reboot call failed with system, trying again with reboot rpc-sys...");
|
||||||
dmubus_call_blocking("rpc-sys", "reboot", UBUS_ARGS{0}, 0, NULL);
|
dmubus_call_blocking("rpc-sys", "reboot", UBUS_ARGS{0}, 0, NULL);
|
||||||
sleep(15); // Wait for reboot to happen
|
sleep(15); // Wait for reboot to happen
|
||||||
BBFDM_WARN("Reboot call failed with rpc-sys, trying again with reboot cmd ...");
|
BBFDM_WARNING("Reboot call failed with rpc-sys, trying again with reboot cmd ...");
|
||||||
run_cmd("reboot", NULL, 0);
|
run_cmd("reboot", NULL, 0);
|
||||||
sleep(15); // Wait for reboot
|
sleep(15); // Wait for reboot
|
||||||
BBFDM_ERR("Reboot calls failed, trying hard reboot!!!");
|
BBFDM_ERR("Reboot calls failed, trying hard reboot!!!");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue