mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Fixing a few misspellings
This commit is contained in:
parent
b136863199
commit
c4a368edfb
@ -229,12 +229,12 @@ write_fru_area(struct ipmi_intf * intf, struct fru_info *fru, uint8_t id,
|
||||
msg_data[2] = (uint8_t)(tmp >> 8);
|
||||
tmp = finish - (doffset+off); /* bytes remaining */
|
||||
if (tmp > 16) {
|
||||
lprintf(LOG_INFO,"Writting 16 bytes");
|
||||
lprintf(LOG_INFO,"Writing 16 bytes");
|
||||
memcpy(&msg_data[3], pFrubuf + soffset + off, 16);
|
||||
req.msg.data_len = 16 + 3;
|
||||
}
|
||||
else {
|
||||
lprintf(LOG_INFO,"Writting %d bytes", tmp);
|
||||
lprintf(LOG_INFO,"Writing %d bytes", tmp);
|
||||
memcpy(&msg_data[3], pFrubuf + soffset + off, (uint8_t)tmp);
|
||||
req.msg.data_len = tmp + 3;
|
||||
}
|
||||
|
@ -1174,7 +1174,7 @@ get_cmdline_cipher_suite_priv_data(char * arg, uint8_t * buf)
|
||||
}
|
||||
|
||||
/*
|
||||
* The first byte is reservered (0). The resst of the buffer is setup
|
||||
* The first byte is reserved (0). The rest of the buffer is setup
|
||||
* so that each nibble holds the maximum privilege level available for
|
||||
* that cipher suite number. The number of nibbles (15) matches the number
|
||||
* of fixed cipher suite IDs. This command documentation mentions 16 IDs
|
||||
|
@ -629,7 +629,7 @@ ipmi_sdr_get_header(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr)
|
||||
continue;
|
||||
} else if (rsp->ccode == 0xc5) {
|
||||
/* lost reservation */
|
||||
lprintf(LOG_DEBUG, "SDR reserveration %04x cancelled. "
|
||||
lprintf(LOG_DEBUG, "SDR reservation %04x cancelled. "
|
||||
"Sleeping a bit and retrying...",
|
||||
itr->reservation);
|
||||
|
||||
@ -2473,7 +2473,7 @@ ipmi_sdr_get_reservation(struct ipmi_intf *intf, uint16_t * reserve_id)
|
||||
return -1;
|
||||
|
||||
*reserve_id = ((struct sdr_reserve_repo_rs *) &(rsp->data))->reserve_id;
|
||||
lprintf(LOG_DEBUG, "SDR reserveration ID %04x", *reserve_id);
|
||||
lprintf(LOG_DEBUG, "SDR reservation ID %04x", *reserve_id);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -2668,7 +2668,7 @@ ipmi_sdr_get_record(struct ipmi_intf * intf, struct sdr_get_rs * header,
|
||||
continue;
|
||||
case 0xc5:
|
||||
/* lost reservation */
|
||||
lprintf(LOG_DEBUG, "SDR reserveration cancelled. "
|
||||
lprintf(LOG_DEBUG, "SDR reservation cancelled. "
|
||||
"Sleeping a bit and retrying...");
|
||||
|
||||
sleep(rand() & 3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user