fix the previous fix
This commit is contained in:
parent
b513c9a6ad
commit
36e00c28de
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: xd.c,v 1.16 1999/07/28 06:35:06 christos Exp $ */
|
||||
/* $NetBSD: xd.c,v 1.17 1999/07/28 10:03:02 drochner Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -339,7 +339,7 @@ xdgetdisklabel(xd, b)
|
|||
if (sdl->sl_magic == SUN_DKMAGIC) {
|
||||
xd->pcyl = sdl->sl_pcylinders;
|
||||
} else
|
||||
#else
|
||||
#endif
|
||||
{
|
||||
printf("%s: WARNING: no `pcyl' in disk label.\n",
|
||||
xd->sc_dev.dv_xname);
|
||||
|
@ -348,7 +348,6 @@ xdgetdisklabel(xd, b)
|
|||
printf("%s: WARNING: guessing pcyl=%d (ncyl+acyl)\n",
|
||||
xd->sc_dev.dv_xname, xd->pcyl);
|
||||
}
|
||||
#endif
|
||||
|
||||
xd->ncyl = xd->sc_dk.dk_label->d_ncylinders;
|
||||
xd->acyl = xd->sc_dk.dk_label->d_acylinders;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: xy.c,v 1.13 1999/07/28 06:35:06 christos Exp $ */
|
||||
/* $NetBSD: xy.c,v 1.14 1999/07/28 10:03:02 drochner Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -260,7 +260,7 @@ xygetdisklabel(xy, b)
|
|||
if (sdl->sl_magic == SUN_DKMAGIC) {
|
||||
xy->pcyl = sdl->sl_pcylinders;
|
||||
} else
|
||||
#else
|
||||
#endif
|
||||
{
|
||||
printf("%s: WARNING: no `pcyl' in disk label.\n",
|
||||
xy->sc_dev.dv_xname);
|
||||
|
@ -269,7 +269,6 @@ xygetdisklabel(xy, b)
|
|||
printf("%s: WARNING: guessing pcyl=%d (ncyl+acyl)\n",
|
||||
xy->sc_dev.dv_xname, xy->pcyl);
|
||||
}
|
||||
#endif
|
||||
|
||||
xy->ncyl = xy->sc_dk.dk_label->d_ncylinders;
|
||||
xy->acyl = xy->sc_dk.dk_label->d_acylinders;
|
||||
|
|
Loading…
Reference in New Issue