summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/libsa/bugdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme88k/stand/libsa/bugdev.c')
-rw-r--r--sys/arch/mvme88k/stand/libsa/bugdev.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/stand/libsa/bugdev.c b/sys/arch/mvme88k/stand/libsa/bugdev.c
index f0d5513543e..adb9751794b 100644
--- a/sys/arch/mvme88k/stand/libsa/bugdev.c
+++ b/sys/arch/mvme88k/stand/libsa/bugdev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bugdev.c,v 1.8 2013/01/16 20:45:09 miod Exp $ */
+/* $OpenBSD: bugdev.c,v 1.9 2013/11/05 00:51:58 krw Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -188,9 +188,7 @@ cputobsdlabel(lp, clp)
lp->d_ntracks = clp->cfg_hds;
lp->d_secpercyl = clp->secpercyl;
- lp->d_secperunit = clp->secperunit;
- lp->d_secpercyl = clp->secpercyl;
- lp->d_secperunit = clp->secperunit;
+ DL_SETDSIZE(lp, clp->secperunit);
lp->d_acylinders = clp->acylinders;
lp->d_flags = clp->flags;
for (i = 0; i < NDDATA; i++)