Module Name:    src
Committed By:   riastradh
Date:           Thu Sep 22 14:27:02 UTC 2022

Modified Files:
        src/sys/arch/sandpoint/stand/altboot: main.c

Log Message:
sandpoint: Teach altboot to handle 9.99.100 modules.

Not tested, but something here will be necessary to make it work, and
the same change does work in x86 efiboot.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/sandpoint/stand/altboot/main.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/sandpoint/stand/altboot/main.c
diff -u src/sys/arch/sandpoint/stand/altboot/main.c:1.33 src/sys/arch/sandpoint/stand/altboot/main.c:1.34
--- src/sys/arch/sandpoint/stand/altboot/main.c:1.33	Tue Mar 23 07:21:40 2021
+++ src/sys/arch/sandpoint/stand/altboot/main.c	Thu Sep 22 14:27:02 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.33 2021/03/23 07:21:40 rin Exp $ */
+/* $NetBSD: main.c,v 1.34 2022/09/22 14:27:02 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -516,7 +516,7 @@ module_load(const char *kernel_path)
 		    "/stand/sandpoint/%d.%d.%d/modules",
 		    netbsd_version / 100000000,
 		    netbsd_version / 1000000 % 100,
-		    netbsd_version / 100 % 100);
+		    netbsd_version / 100 % 10000);
 	}
 	 else if (netbsd_version != 0) {
 		/* release */

Reply via email to