diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-14 19:39:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-14 19:39:36 +0000 |
commit | 758d52741b52cdbce01bc5020501087afc5c74bc (patch) | |
tree | 87f4d23fdcc4c656d6ad4f37c26c00fe8c79ffba /sys/arch/sparc64 | |
parent | 4c132c48077772c74647f732a0dd3fff979b0e44 (diff) |
bzero the right thing
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/dev/fd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/fd.c b/sys/arch/sparc64/dev/fd.c index 5b4f353f567..0e91fb14347 100644 --- a/sys/arch/sparc64/dev/fd.c +++ b/sys/arch/sparc64/dev/fd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fd.c,v 1.16 2007/06/08 05:27:58 deraadt Exp $ */ +/* $OpenBSD: fd.c,v 1.17 2007/06/14 19:39:35 deraadt Exp $ */ /* $NetBSD: fd.c,v 1.112 2003/08/07 16:29:35 agc Exp $ */ /*- @@ -2010,7 +2010,7 @@ fdgetdisklabel(dev) char *errstring; bzero(lp, sizeof(struct disklabel)); - bzero(lp, sizeof(struct cpu_disklabel)); + bzero(clp, sizeof(struct cpu_disklabel)); lp->d_type = DTYPE_FLOPPY; lp->d_secsize = FD_BSIZE(fd); |