diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2020-07-22 23:35:41 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2020-07-22 23:35:41 +0000 |
commit | 5a01eca698113fff3e75265e6d59023af47921d7 (patch) | |
tree | f38b40c6a221921df0b4347a543ded5381a62cd9 /sys/kern/init_main.c | |
parent | 9516bcdfb49003824480d2fa88676c0a422afb67 (diff) | |
download | src-5a01eca698113fff3e75265e6d59023af47921d7.tar.gz src-5a01eca698113fff3e75265e6d59023af47921d7.zip |
Use SI_ORDER_(FOURTH|FIFTH) rather than bespoke versions.
No functional change.
When these SYSINITs were added these macros didn't exist.
Reviewed by: imp
Obtained from: CheriBSD
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D25758
Notes
Notes:
svn path=/head/; revision=363438
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 0a6159a123b0..833228c50ed0 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -372,18 +372,18 @@ SYSINIT(version, SI_SUB_COPYRIGHT, SI_ORDER_THIRD, print_version, NULL); #ifdef WITNESS static char wit_warn[] = "WARNING: WITNESS option enabled, expect reduced performance.\n"; -SYSINIT(witwarn, SI_SUB_COPYRIGHT, SI_ORDER_THIRD + 1, +SYSINIT(witwarn, SI_SUB_COPYRIGHT, SI_ORDER_FOURTH, print_caddr_t, wit_warn); -SYSINIT(witwarn2, SI_SUB_LAST, SI_ORDER_THIRD + 1, +SYSINIT(witwarn2, SI_SUB_LAST, SI_ORDER_FOURTH, print_caddr_t, wit_warn); #endif #ifdef DIAGNOSTIC static char diag_warn[] = "WARNING: DIAGNOSTIC option enabled, expect reduced performance.\n"; -SYSINIT(diagwarn, SI_SUB_COPYRIGHT, SI_ORDER_THIRD + 2, +SYSINIT(diagwarn, SI_SUB_COPYRIGHT, SI_ORDER_FIFTH, print_caddr_t, diag_warn); -SYSINIT(diagwarn2, SI_SUB_LAST, SI_ORDER_THIRD + 2, +SYSINIT(diagwarn2, SI_SUB_LAST, SI_ORDER_FIFTH, print_caddr_t, diag_warn); #endif |