mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-11 02:57:22 +00:00
avoid lprintf to control \n generation
This commit is contained in:
parent
77b47d3751
commit
7acd1310ec
@ -132,7 +132,7 @@ extern int verbose;
|
|||||||
* will be removed once a new Open IPMI driver is released.
|
* will be removed once a new Open IPMI driver is released.
|
||||||
* (Buggy version = 39)
|
* (Buggy version = 39)
|
||||||
*/
|
*/
|
||||||
#undef ENABLE_OPENIPMI_V39_PATCH
|
#define ENABLE_OPENIPMI_V39_PATCH
|
||||||
|
|
||||||
#ifdef ENABLE_OPENIPMI_V39_PATCH
|
#ifdef ENABLE_OPENIPMI_V39_PATCH
|
||||||
|
|
||||||
@ -1134,7 +1134,8 @@ int HpmfwupgUpgradeStage(struct ipmi_intf *intf, struct HpmfwupgUpgradeCtx* pFwu
|
|||||||
{
|
{
|
||||||
uploadCmd.req.blockNumber++;
|
uploadCmd.req.blockNumber++;
|
||||||
pData += count;
|
pData += count;
|
||||||
lprintf(LOG_NOTICE," Writing firmware: %.0f %c completed\r",
|
/* avoid lprintf to control \n generation */
|
||||||
|
printf(" Writing firmware: %.0f %c completed\r",
|
||||||
(float)totalSent/firmwareLength*100, '%');
|
(float)totalSent/firmwareLength*100, '%');
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user