Date: Tue, 19 May 2020 18:34:50 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r361262 - head/sys/kern Message-ID: <202005191834.04JIYoS3095793@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Tue May 19 18:34:50 2020 New Revision: 361262 URL: https://svnweb.freebsd.org/changeset/base/361262 Log: Use the symbolic name for "modmetadata_set". MFC after: 1 week Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_linker.c Modified: head/sys/kern/kern_linker.c ============================================================================== --- head/sys/kern/kern_linker.c Tue May 19 16:28:20 2020 (r361261) +++ head/sys/kern/kern_linker.c Tue May 19 18:34:50 2020 (r361262) @@ -369,8 +369,7 @@ linker_file_register_modules(linker_file_t lf) sx_assert(&kld_sx, SA_XLOCKED); - if (linker_file_lookup_set(lf, "modmetadata_set", &start, - &stop, NULL) != 0) { + if (linker_file_lookup_set(lf, MDT_SETNAME, &start, &stop, NULL) != 0) { /* * This fallback should be unnecessary, but if we get booted * from boot2 instead of loader and we are missing our
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005191834.04JIYoS3095793>