diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-06-18 23:35:22 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-06-18 23:35:22 +0000 |
commit | 3e8b0b9d9d2ba1b2c504aba4c73a6ce743f926b2 (patch) | |
tree | 28deae16d4cc44f7206881df00448c3e05b56d98 | |
parent | 6f8e976be6e3b05199cf6638b9727ef579a24911 (diff) |
Change sizeof(&kdfinfo2) to sizeof(kdfinfo2).
ok deraadt@
-rw-r--r-- | sys/dev/softraid_crypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid_crypto.c b/sys/dev/softraid_crypto.c index 3dd097abffc..d1f7a996788 100644 --- a/sys/dev/softraid_crypto.c +++ b/sys/dev/softraid_crypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_crypto.c,v 1.68 2011/06/17 07:06:46 mk Exp $ */ +/* $OpenBSD: softraid_crypto.c,v 1.69 2011/06/18 23:35:21 matthew Exp $ */ /* * Copyright (c) 2007 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Hans-Joerg Hoexer <hshoexer@openbsd.org> @@ -1084,7 +1084,7 @@ sr_crypto_ioctl(struct sr_discipline *sd, struct bioc_discipline *bd) bad: explicit_bzero(&kdfpair, sizeof(kdfpair)); explicit_bzero(&kdfinfo1, sizeof(kdfinfo1)); - explicit_bzero(&kdfinfo2, sizeof(&kdfinfo2)); + explicit_bzero(&kdfinfo2, sizeof(kdfinfo2)); return (rv); } |