Module Name: src
Committed By: riastradh
Date: Wed Sep 21 14:29:45 UTC 2022
Modified Files:
src/sys/arch/i386/stand/lib: exec.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/i386/stand/lib/exec.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/i386/stand/lib/exec.c
diff -u src/sys/arch/i386/stand/lib/exec.c:1.77 src/sys/arch/i386/stand/lib/exec.c:1.78
--- src/sys/arch/i386/stand/lib/exec.c:1.77 Sun May 30 05:59:23 2021
+++ src/sys/arch/i386/stand/lib/exec.c Wed Sep 21 14:29:45 2022
@@ -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 @@ module_base_path(char *buf, size_t bufsi
"/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,