summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-04-02 01:33:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-04-02 01:33:16 +0000
commit7bb2316828ce1d059124018af00067d5020f2397 (patch)
tree14ba1359da0f0e8934cba6182e5f41e2ae633d09 /sys
parent97f50cb9e1d3708850c75e9c8966f9e30a50d751 (diff)
clear correct structure, PR#144, grr@shandakor.tharsis.com
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/dev/fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c
index c9b93bac0a2..fb77075a5c5 100644
--- a/sys/arch/sparc/dev/fd.c
+++ b/sys/arch/sparc/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.13 1996/12/06 11:23:02 deraadt Exp $ */
+/* $OpenBSD: fd.c,v 1.14 1997/04/02 01:33:15 deraadt Exp $ */
/* $NetBSD: fd.c,v 1.33.4.1 1996/06/12 20:52:25 pk Exp $ */
/*-
@@ -1637,7 +1637,7 @@ fdgetdisklabel(dev)
char *errstring;
bzero(lp, sizeof(struct disklabel));
- bzero(lp, sizeof(struct cpu_disklabel));
+ bzero(clp, sizeof(struct cpu_disklabel));
lp->d_secsize = FDC_BSIZE;
lp->d_secpercyl = fd->sc_type->seccyl;