Skip to content
Snippets Groups Projects
Commit b6e1db3a authored by Adam Wujek's avatar Adam Wujek :speech_balloon:
Browse files

userspace/snmpd: (no tech change) fix misspelled comments


Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parent c91fb30d
No related merge requests found
...@@ -138,7 +138,7 @@ static void get_boot_info(void){ ...@@ -138,7 +138,7 @@ static void get_boot_info(void){
f = fopen(BOOTCOUNT_FILE, "r"); f = fopen(BOOTCOUNT_FILE, "r");
if (!f) { if (!f) {
snmp_log(LOG_ERR, "SNMP: wrsBootStatusGroup filed to open " snmp_log(LOG_ERR, "SNMP: wrsBootStatusGroup failed to open "
BOOTCOUNT_FILE"\n"); BOOTCOUNT_FILE"\n");
/* notify snmp about error in restart reason */ /* notify snmp about error in restart reason */
wrsBootStatus_s.wrsRestartReason = WRS_RESTART_REASON_ERROR; wrsBootStatus_s.wrsRestartReason = WRS_RESTART_REASON_ERROR;
...@@ -324,7 +324,7 @@ static void get_boot_scripts_status(void){ ...@@ -324,7 +324,7 @@ static void get_boot_scripts_status(void){
/* try again next time */ /* try again next time */
run_once = 0; run_once = 0;
} }
else {/* */ else {/* Failed to load FPGA */
wrsBootStatus_s.wrsBootLoadFPGA = wrsBootStatus_s.wrsBootLoadFPGA =
WRS_BOOT_LOAD_FPGA_ERROR; WRS_BOOT_LOAD_FPGA_ERROR;
/* try again next time */ /* try again next time */
...@@ -385,7 +385,7 @@ static void get_loaded_kernel_modules_status(void) ...@@ -385,7 +385,7 @@ static void get_loaded_kernel_modules_status(void)
f = fopen(MODULES_FILE, "r"); f = fopen(MODULES_FILE, "r");
if (!f) { if (!f) {
snmp_log(LOG_ERR, "SNMP: wrsBootStatusGroup filed to open " snmp_log(LOG_ERR, "SNMP: wrsBootStatusGroup failed to open "
MODULES_FILE"\n"); MODULES_FILE"\n");
/* notify snmp about error in kernel modules */ /* notify snmp about error in kernel modules */
wrsBootStatus_s.wrsBootKernelModulesMissing = wrsBootStatus_s.wrsBootKernelModulesMissing =
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment