|
Fix memset arg ordering.: msg#00476emulators.xen.cvs
ChangeSet 1.1814, 2005/03/31 09:04:01+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx Fix memset arg ordering. sys_net.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/tools/libxutil/sys_net.c b/tools/libxutil/sys_net.c --- a/tools/libxutil/sys_net.c 2005-03-31 04:08:00 -05:00 +++ b/tools/libxutil/sys_net.c 2005-03-31 04:08:00 -05:00 @@ -310,7 +310,7 @@ static char buf[MAC_LENGTH + 1]; int buf_n = sizeof(buf); - memset(buf, buf_n, 0); + memset(buf, 0, buf_n); snprintf(buf, buf_n, "%02x:%02x:%02x:%02x:%02x:%02x", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | noop merge.: 00476, BitKeeper Bot |
|---|---|
| Next by Date: | Backport of Jens blkdev performance patch. I accidentally applied it: 00476, BitKeeper Bot |
| Previous by Thread: | Fix memset arg ordering.i: 00476, BitKeeper Bot |
| Next by Thread: | memset arg ordering.: 00476, BitKeeper Bot |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |