diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-08-14 01:04:59 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-08-14 01:04:59 +0000 |
commit | f22f84d4ac55e2f14181040eca22241462e4b686 (patch) | |
tree | bf1fb962e693b5ab0871b91c17b56151fa186b03 /sys/arch/sparc/dev | |
parent | 451757c926b61f58afdaa3b9a0b607d17ff8b01b (diff) |
Now that DEV_BSIZE is universally defined as 1 << DEV_BSHIFT, use it to
set d_secsize instead of 1 << DEV_BSHIFT. Just for textual consistency in
setting d_secsize.
No functional change.
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r-- | sys/arch/sparc/dev/presto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/presto.c b/sys/arch/sparc/dev/presto.c index 6035b04682d..bcbcaac87b4 100644 --- a/sys/arch/sparc/dev/presto.c +++ b/sys/arch/sparc/dev/presto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: presto.c,v 1.4 2006/08/12 13:53:44 krw Exp $ */ +/* $OpenBSD: presto.c,v 1.5 2006/08/14 01:04:58 krw Exp $ */ /* * Copyright (c) 2003, Miodrag Vallat. * All rights reserved. @@ -375,7 +375,7 @@ presto_getdisklabel(struct presto_softc *sc) bzero(sc->sc_dk.dk_cpulabel, sizeof(struct cpu_disklabel)); bzero(sc->sc_dk.dk_label, sizeof(struct disklabel)); - lp->d_secsize = 1 << DEV_BSHIFT; + lp->d_secsize = DEV_BSIZE; lp->d_ntracks = 1; lp->d_nsectors = 32; lp->d_secperunit = (sc->sc_memsize - PSERVE_OFFSET) >> DEV_BSHIFT; |