From: deraadt Date: Wed, 2 Apr 1997 01:33:15 +0000 (+0000) Subject: clear correct structure, PR#144, grr@shandakor.tharsis.com X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=68fad74d1ad1e7d0edff58e9fb9596fafaba4406;p=openbsd clear correct structure, PR#144, grr@shandakor.tharsis.com --- 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;