Skip to content

Commit

Permalink
cangw: replace obsolete bzero by memset
Browse files Browse the repository at this point in the history
uclibc for example doesn't implement bzero

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
marckleinebudde committed Apr 19, 2010
1 parent c6b3cef commit f7be786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cangw.c
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ int main(int argc, char **argv)
}

/* clean netlink receive buffer */
bzero(rxbuf, sizeof(rxbuf));
memset(rxbuf, 0x0, sizeof(rxbuf));

if (cmd != LIST) {

Expand Down

0 comments on commit f7be786

Please sign in to comment.