Author: markj
Date: Tue May 26 14:05:06 2020
New Revision: 361503
URL: https://svnweb.freebsd.org/changeset/base/361503

Log:
  MFC r361262:
  Use the symbolic name for "modmetadata_set".

Modified:
  stable/12/sys/kern/kern_linker.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/kern/kern_linker.c
==============================================================================
--- stable/12/sys/kern/kern_linker.c    Tue May 26 13:57:14 2020        
(r361502)
+++ stable/12/sys/kern/kern_linker.c    Tue May 26 14:05:06 2020        
(r361503)
@@ -370,8 +370,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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to