Fix compilation

This commit is contained in:
Vivek Kumar Dutta 2025-12-03 14:57:48 +05:30
parent 158bf8fbb5
commit 70ca07fbc2
No known key found for this signature in database
GPG key ID: 4E09F5AD8265FD4C

View file

@ -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...");
dmubus_call_blocking("rpc-sys", "reboot", UBUS_ARGS{0}, 0, NULL);
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);
sleep(15); // Wait for reboot
BBFDM_ERR("Reboot calls failed, trying hard reboot!!!");