Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/stand/lib i386/stand: Handle 9.99.100 by takin...



details:   https://anonhg.NetBSD.org/src/rev/79146a985caa
branches:  trunk
changeset: 370623:79146a985caa
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Sep 21 14:29:45 2022 +0000

description:
i386/stand: Handle 9.99.100 by taking four, not two, digits.

We haven't used the revision part of __NetBSD_Version__ = MMmmrrpp00
in almos two decades so we're apparently reclaiming it as MMmmpppp00.

diffstat:

 sys/arch/i386/stand/lib/exec.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d24d8150bf6e -r 79146a985caa sys/arch/i386/stand/lib/exec.c
--- a/sys/arch/i386/stand/lib/exec.c    Wed Sep 21 10:59:10 2022 +0000
+++ b/sys/arch/i386/stand/lib/exec.c    Wed Sep 21 14:29:45 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec.c,v 1.77 2021/05/30 05:59:23 mlelstv Exp $         */
+/*     $NetBSD: exec.c,v 1.78 2022/09/21 14:29:45 riastradh Exp $       */
 
 /*
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -684,7 +684,7 @@
                    "/stand/%s/%d.%d.%d/modules", machine,
                    netbsd_version / 100000000,
                    netbsd_version / 1000000 % 100,
-                   netbsd_version / 100 % 100);
+                   netbsd_version / 100 % 10000);
        } else if (netbsd_version != 0) {
                /* release */
                snprintf(buf, bufsize,



Home | Main Index | Thread Index | Old Index