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
99
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
20761818
Commit
20761818
authored
5 months ago
by
Adam Wujek
Browse files
Options
Downloads
Patches
Plain Diff
[FEATURE:
#335
] userspace/snmpd: fix urv load file in wrsBootStatusGroup
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
a0dd341d
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
+2
-2
2 additions, 2 deletions
userspace/snmpd/wrsBootStatusGroup.c
with
2 additions
and
2 deletions
userspace/snmpd/wrsBootStatusGroup.c
+
2
−
2
View file @
20761818
...
...
@@ -13,7 +13,7 @@
#define HWINFO_FILE "/tmp/hwinfo_read_status"
#define LOAD_FPGA_STATUS_FILE "/tmp/load_fpga_status"
#define LOAD_
LM32
_STATUS_FILE "/tmp/load_
lm32
_status"
#define LOAD_
URV
_STATUS_FILE "/tmp/load_
urv
_status"
#define MODULES_FILE "/proc/modules"
/* get process list, output only process' command */
...
...
@@ -367,7 +367,7 @@ static void get_boot_scripts_status(void){
}
/* result of loading LM32 */
f
=
fopen
(
LOAD_
LM32
_STATUS_FILE
,
"r"
);
f
=
fopen
(
LOAD_
URV
_STATUS_FILE
,
"r"
);
if
(
f
)
{
/* readline without newline */
fscanf
(
f
,
LINE_READ_LEN
(
20
),
buff
);
...
...
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