Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
91
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Software
Commits
b6e1db3a
Commit
b6e1db3a
authored
8 years ago
by
Adam Wujek
Browse files
Options
Downloads
Patches
Plain Diff
userspace/snmpd: (no tech change) fix misspelled comments
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
c91fb30d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
userspace/snmpd/wrsBootStatusGroup.c
+3
-3
3 additions, 3 deletions
userspace/snmpd/wrsBootStatusGroup.c
with
3 additions
and
3 deletions
userspace/snmpd/wrsBootStatusGroup.c
+
3
−
3
View file @
b6e1db3a
...
...
@@ -138,7 +138,7 @@ static void get_boot_info(void){
f
=
fopen
(
BOOTCOUNT_FILE
,
"r"
);
if
(
!
f
)
{
snmp_log
(
LOG_ERR
,
"SNMP: wrsBootStatusGroup filed to open "
snmp_log
(
LOG_ERR
,
"SNMP: wrsBootStatusGroup f
a
iled to open "
BOOTCOUNT_FILE
"
\n
"
);
/* notify snmp about error in restart reason */
wrsBootStatus_s
.
wrsRestartReason
=
WRS_RESTART_REASON_ERROR
;
...
...
@@ -324,7 +324,7 @@ static void get_boot_scripts_status(void){
/* try again next time */
run_once
=
0
;
}
else
{
/* */
else
{
/*
Failed to load FPGA
*/
wrsBootStatus_s
.
wrsBootLoadFPGA
=
WRS_BOOT_LOAD_FPGA_ERROR
;
/* try again next time */
...
...
@@ -385,7 +385,7 @@ static void get_loaded_kernel_modules_status(void)
f
=
fopen
(
MODULES_FILE
,
"r"
);
if
(
!
f
)
{
snmp_log
(
LOG_ERR
,
"SNMP: wrsBootStatusGroup filed to open "
snmp_log
(
LOG_ERR
,
"SNMP: wrsBootStatusGroup f
a
iled to open "
MODULES_FILE
"
\n
"
);
/* notify snmp about error in kernel modules */
wrsBootStatus_s
.
wrsBootKernelModulesMissing
=
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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