diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2004-02-02 16:04:55 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2004-02-02 16:04:55 +0000 |
commit | bb563aa7eef0cc2e9551f38c0a4858a682c8aeea (patch) | |
tree | 2c017d4dfd92b2aaa2bf6a376534371c4d62b231 /sbin/ipsecadm/pfkdump.c | |
parent | b5f43d140722363879a3f7fe5bf24b6072b922b8 (diff) |
memset typo; Moritz Jodeit
Diffstat (limited to 'sbin/ipsecadm/pfkdump.c')
-rw-r--r-- | sbin/ipsecadm/pfkdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsecadm/pfkdump.c b/sbin/ipsecadm/pfkdump.c index 11a19c0d5c5..fd6d3b7f011 100644 --- a/sbin/ipsecadm/pfkdump.c +++ b/sbin/ipsecadm/pfkdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkdump.c,v 1.10 2004/01/15 10:15:55 markus Exp $ */ +/* $OpenBSD: pfkdump.c,v 1.11 2004/02/02 16:04:54 markus Exp $ */ /* * Copyright (c) 2003 Markus Friedl. All rights reserved. @@ -584,7 +584,7 @@ msg_read(int pfkey) } } print_msg(msg, promisc); - memset(data, len, 0); + memset(data, 0, len); free(data); } |