summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-14 19:39:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-14 19:39:36 +0000
commit758d52741b52cdbce01bc5020501087afc5c74bc (patch)
tree87f4d23fdcc4c656d6ad4f37c26c00fe8c79ffba /sys/arch/sparc64
parent4c132c48077772c74647f732a0dd3fff979b0e44 (diff)
bzero the right thing
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/fd.c4
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);