Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/vme fix the previous fix



details:   https://anonhg.NetBSD.org/src/rev/da81df8f21ea
branches:  trunk
changeset: 474983:da81df8f21ea
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Jul 28 10:03:02 1999 +0000

description:
fix the previous fix

diffstat:

 sys/dev/vme/xd.c |  5 ++---
 sys/dev/vme/xy.c |  5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r d692a59de930 -r da81df8f21ea sys/dev/vme/xd.c
--- a/sys/dev/vme/xd.c  Wed Jul 28 09:48:36 1999 +0000
+++ b/sys/dev/vme/xd.c  Wed Jul 28 10:03:02 1999 +0000
@@ -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 @@
        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 @@
                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;
diff -r d692a59de930 -r da81df8f21ea sys/dev/vme/xy.c
--- a/sys/dev/vme/xy.c  Wed Jul 28 09:48:36 1999 +0000
+++ b/sys/dev/vme/xy.c  Wed Jul 28 10:03:02 1999 +0000
@@ -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 @@
        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 @@
                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;



Home | Main Index | Thread Index | Old Index