From bb563aa7eef0cc2e9551f38c0a4858a682c8aeea Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Mon, 2 Feb 2004 16:04:55 +0000 Subject: memset typo; Moritz Jodeit --- sbin/ipsecadm/pfkdump.c | 4 ++-- 1 file 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); } -- cgit v1.2.3