mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-06-28 08:11:36 +00:00
ID:417 - Fix some typos
Commit fixes typos in texts in code, print-outs, README and man page. Submitted by Jörg Frings-Fürst
This commit is contained in:
@@ -671,7 +671,7 @@ chk_nm_rsp(struct ipmi_rs * rsp)
|
||||
* some issue and cannot complete the command
|
||||
*/
|
||||
if (rsp == NULL) {
|
||||
lprintf(LOG_ERR, "\n No reponse to NM request");
|
||||
lprintf(LOG_ERR, "\n No response to NM request");
|
||||
return 1;
|
||||
}
|
||||
/* if the completion code is greater than zero there was an error. We'll
|
||||
@@ -1426,7 +1426,7 @@ ipmi_dcmi_getthermalpolicy(struct ipmi_intf * intf, uint8_t entityID,
|
||||
/* rsp->data[0] is equal to response data byte 2 in spec */
|
||||
memcpy(&val, rsp->data, sizeof (val));
|
||||
printf("\n");
|
||||
printf(" Persistance flag is: %s\n",
|
||||
printf(" Persistence flag is: %s\n",
|
||||
((val.exceptionActions & 0x80) ? "set" : "notset"));
|
||||
printf(" Exception Actions, taken if the Temperature Limit exceeded:\n");
|
||||
printf(" Hard Power Off system and log event: %s\n",
|
||||
@@ -3163,7 +3163,7 @@ ipmi_nm_thresh(struct ipmi_intf * intf, int argc, char **argv)
|
||||
return -1;
|
||||
}
|
||||
if (str2ushort(argv[0], &thresh.thresholds[i++]) < 0) {
|
||||
lprintf(LOG_ERR,"threshold value %d count must be a positve integer.\n", i);
|
||||
lprintf(LOG_ERR,"threshold value %d count must be a positive integer.\n", i);
|
||||
return -1;
|
||||
}
|
||||
default:
|
||||
|
||||
@@ -2021,13 +2021,13 @@ HpmfwupgQueryRollbackStatus(struct ipmi_intf *intf,
|
||||
memcpy(&pCtx->resp, rsp->data,
|
||||
sizeof(struct HpmfwupgQueryRollbackStatusResp));
|
||||
if (pCtx->resp.rollbackComp.ComponentBits.byte != 0) {
|
||||
/* Rollback occured */
|
||||
/* Rollback occurred */
|
||||
lprintf(LOG_NOTICE,
|
||||
"Rollback occured on component mask: 0x%02x",
|
||||
"Rollback occurred on component mask: 0x%02x",
|
||||
pCtx->resp.rollbackComp.ComponentBits.byte);
|
||||
} else {
|
||||
lprintf(LOG_NOTICE,
|
||||
"No Firmware rollback occured");
|
||||
"No Firmware rollback occurred");
|
||||
}
|
||||
} else if (rsp->ccode == 0x81) {
|
||||
lprintf(LOG_ERR,
|
||||
|
||||
@@ -779,7 +779,7 @@ ipmi_mc_rst_watchdog(struct ipmi_intf * intf)
|
||||
if (rsp->ccode) {
|
||||
lprintf(LOG_ERR, "Reset Watchdog Timer command failed: %s",
|
||||
(rsp->ccode == IPM_WATCHDOG_RESET_ERROR) ?
|
||||
"Attempt to reset unitialized watchdog" :
|
||||
"Attempt to reset uninitialized watchdog" :
|
||||
val2str(rsp->ccode, completion_code_vals));
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -469,7 +469,7 @@ ipmi_sunoem_led_get(struct ipmi_intf * intf, int argc, char ** argv)
|
||||
ledtype = str2val(argv[1], sunoem_led_type_vals);
|
||||
if (ledtype == 0xFF)
|
||||
lprintf(LOG_ERR,
|
||||
"Unknow ledtype, will use data from the SDR oem field");
|
||||
"Unknown ledtype, will use data from the SDR oem field");
|
||||
}
|
||||
|
||||
if (strncasecmp(argv[0], "all", 3) == 0) {
|
||||
@@ -676,7 +676,7 @@ ipmi_sunoem_led_set(struct ipmi_intf * intf, int argc, char ** argv)
|
||||
ledtype = str2val(argv[2], sunoem_led_type_vals);
|
||||
if (ledtype == 0xFF)
|
||||
lprintf(LOG_ERR,
|
||||
"Unknow ledtype, will use data from the SDR oem field");
|
||||
"Unknown ledtype, will use data from the SDR oem field");
|
||||
}
|
||||
|
||||
if (strncasecmp(argv[0], "all", 3) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user