diff options
author | Evan Huus <eapache@gmail.com> | 2012-07-19 22:09:44 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2012-07-19 22:09:44 +0000 |
commit | b859ce0a44d60e922095f388f25a013f68ddbdd4 (patch) | |
tree | 9cab32d53f3b29e39c745aa825f20a64337ca609 /cfile.c | |
parent | 0da59a005829eb5daf49c6477219a35ac4e73ab3 (diff) |
Fix transposed memset parameters causing build failure with GCC.
svn path=/trunk/; revision=43834
Diffstat (limited to 'cfile.c')
-rw-r--r-- | cfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,6 +37,6 @@ void cap_file_init(capture_file *cf) { /* Initialize the capture file struct */ - memset(cf, sizeof(capture_file), 0); + memset(cf, 0, sizeof(capture_file)); cf->snap = WTAP_MAX_PACKET_SIZE; } |