Module Name: src Committed By: riastradh Date: Wed Sep 21 14:30:01 UTC 2022
Modified Files: src/sys/stand/efiboot: module.c Log Message: efiboot: 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.1 -r1.2 src/sys/stand/efiboot/module.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/stand/efiboot/module.c diff -u src/sys/stand/efiboot/module.c:1.1 src/sys/stand/efiboot/module.c:1.2 --- src/sys/stand/efiboot/module.c:1.1 Sun Jun 21 17:24:26 2020 +++ src/sys/stand/efiboot/module.c Wed Sep 21 14:30:01 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: module.c,v 1.1 2020/06/21 17:24:26 jmcneill Exp $ */ +/* $NetBSD: module.c,v 1.2 2022/09/21 14:30:01 riastradh Exp $ */ /*- * Copyright (c) 2020 The NetBSD Foundation, Inc. @@ -62,7 +62,7 @@ module_set_prefix(const char *kernel_pat #else const u_int vmajor = netbsd_version / 100000000; const u_int vminor = netbsd_version / 1000000 % 100; - const u_int vpatch = netbsd_version / 100 % 100; + const u_int vpatch = netbsd_version / 100 % 10000; if (vminor == 99) { snprintf(module_prefix, sizeof(module_prefix),