mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
ID: 3600933 - 'lib/ipmi_sol.c' - use of deprecated bzero()
Commit replaces deprecated bzero() call with memset(). Commit for Ales Ledvinka
This commit is contained in:
parent
fdbef84866
commit
26c17eeb91
@ -1626,7 +1626,7 @@ ipmi_sol_red_pill(struct ipmi_intf * intf, int instance)
|
||||
*/
|
||||
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