|
Fix memset arg ordering.: msg#00469emulators.xen.cvs
ChangeSet 1.1159.256.80, 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:04:31 -05:00 +++ b/tools/libxutil/sys_net.c 2005-03-31 04:04:31 -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: | Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk: 00469, BitKeeper Bot |
|---|---|
| Next by Date: | Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk: 00469, BitKeeper Bot |
| Previous by Thread: | Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bki: 00469, BitKeeper Bot |
| Next by Thread: | Fix memset arg ordering.: 00469, BitKeeper Bot |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |