Skip to content
Snippets Groups Projects
Commit f5dcef54 authored by Vivek Dutta's avatar Vivek Dutta
Browse files

Fix compilation error

parent aaca7af6
No related branches found
No related tags found
1 merge request!5Fix compilation error
Pipeline #180755 passed
......@@ -18,7 +18,7 @@ function install_bbfdm()
if [ -n "${BBFDM_BRANCH}" ]; then
exec_cmd git clone -b ${BBFDM_BRANCH} https://dev.iopsys.eu/bbf/bbfdm.git /opt/dev/bbfdm
else
exec_cmd git clone -b sysmngr https://dev.iopsys.eu/bbf/bbfdm.git /opt/dev/bbfdm
exec_cmd git clone https://dev.iopsys.eu/bbf/bbfdm.git /opt/dev/bbfdm
fi
cd /opt/dev/bbfdm
......
......@@ -174,7 +174,7 @@ static void create_reboot_section(const char *trigger, const char *reason)
if (!trigger || !reason)
return;
snprintf(sec_name, sizeof(sec_name), "reboot_%ld", time(NULL));
snprintf(sec_name, sizeof(sec_name), "reboot_%ld", (long int)time(NULL));
calculate_boot_time(boot_time, sizeof(boot_time));
sysmngr_uci_set("sysmngr", sec_name, NULL, "reboot");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment