mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
3600922 sizeof of incorrect value, bzero deprecated
This commit is contained in:
parent
8a4139e1b8
commit
4a12bdebd6
@ -608,7 +608,7 @@ ipmi_isol_red_pill(struct ipmi_intf * intf)
|
||||
*/
|
||||
if (FD_ISSET(0, &read_fds))
|
||||
{
|
||||
bzero(buffer, sizeof(buffer));
|
||||
memset(buffer, 0, buffer_size);
|
||||
numRead = read(fileno(stdin),
|
||||
buffer,
|
||||
buffer_size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user