Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
System Manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
system
System Manager
Commits
f5dcef54
Commit
f5dcef54
authored
6 months ago
by
Vivek Dutta
Browse files
Options
Downloads
Patches
Plain Diff
Fix compilation error
parent
aaca7af6
No related branches found
No related tags found
1 merge request
!5
Fix compilation error
Pipeline
#180755
passed
6 months ago
Stage: static_code_analysis
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gitlab-ci/shared.sh
+1
-1
1 addition, 1 deletion
gitlab-ci/shared.sh
src/reboots.c
+1
-1
1 addition, 1 deletion
src/reboots.c
with
2 additions
and
2 deletions
gitlab-ci/shared.sh
+
1
−
1
View file @
f5dcef54
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/reboots.c
+
1
−
1
View file @
f5dcef54
...
...
@@ -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"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment