aboutsummaryrefslogtreecommitdiffstats
path: root/cfile.c
diff options
context:
space:
mode:
authoreapache <eapache@f5534014-38df-0310-8fa8-9805f1628bb7>2012-07-19 22:09:44 +0000
committereapache <eapache@f5534014-38df-0310-8fa8-9805f1628bb7>2012-07-19 22:09:44 +0000
commit36b40fb7962e3b54ce6acb1e13e60b7b04303775 (patch)
tree9cab32d53f3b29e39c745aa825f20a64337ca609 /cfile.c
parentded0abef19d7fff4ee5dcde913bd8043b1b076d3 (diff)
Fix transposed memset parameters causing build failure with GCC.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43834 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'cfile.c')
-rw-r--r--cfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfile.c b/cfile.c
index 1f10716f41..6916ea52d5 100644
--- a/cfile.c
+++ b/cfile.c
@@ -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;
}