comparison usr/src/uts/i86pc/dboot/dboot_startkern.c @ 24348:cc4ba761e88f

OS-8063 small typo in dboot workaround debug message (#240) Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Tim Foster <tim.foster@joyent.com>
author John Levon <levon@movementarian.org>
date Fri, 06 Dec 2019 10:30:24 +0000
parents d7b4b7dec331
children 56363d2f257d
comparison
equal deleted inserted replaced
24347:f0c1751b3aaa 24348:cc4ba761e88f
21 21
22 /* 22 /*
23 * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms. 24 * Use is subject to license terms.
25 * 25 *
26 * Copyright 2019 Joyent, Inc. All rights reserved. 26 * Copyright 2019 Joyent, Inc.
27 */ 27 */
28 28
29 29
30 #include <sys/types.h> 30 #include <sys/types.h>
31 #include <sys/machparam.h> 31 #include <sys/machparam.h>
1500 1500
1501 if (mod_start < CORRUPT_REGION_END && 1501 if (mod_start < CORRUPT_REGION_END &&
1502 mod_end >= CORRUPT_REGION_START) { 1502 mod_end >= CORRUPT_REGION_START) {
1503 if (prom_debug) { 1503 if (prom_debug) {
1504 dboot_printf("disabling RICHMOND-16 workaround " 1504 dboot_printf("disabling RICHMOND-16 workaround "
1505 "due to module #%u: " 1505 "due to module #%d: "
1506 "name %s addr %lx size %lx\n", 1506 "name %s addr %lx size %lx\n",
1507 i, (char *)(uintptr_t)modules[i].bm_name, 1507 i, (char *)(uintptr_t)modules[i].bm_name,
1508 (ulong_t)modules[i].bm_addr, 1508 (ulong_t)modules[i].bm_addr,
1509 (ulong_t)modules[i].bm_size); 1509 (ulong_t)modules[i].bm_size);
1510 } 1510 }