diff --git a/gitlab-ci/shared.sh b/gitlab-ci/shared.sh index 3fe0bcefabbe58ee33b8cd469463cf2c4cf17a2e..dc606510de3df2aea40656ed8fb4bd4c8a414169 100644 --- a/gitlab-ci/shared.sh +++ b/gitlab-ci/shared.sh @@ -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 diff --git a/src/reboots.c b/src/reboots.c index 120fd28d977317775458145eb0830bb5c15af84a..dcc2a75526db1d29ef2166a2366f6da0de155f53 100644 --- a/src/reboots.c +++ b/src/reboots.c @@ -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");