mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Oops, SHUTDOWN_PRI_LAST should be EVENTHANDLER_PRI_LAST, not
EVENTHANDLER_PRI_FIRST. Oddly enough, this didn't seem to break the boxes I tested these changes on. Reported by: jesper
This commit is contained in:
parent
75b8b3b25c
commit
9a7048530d
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ typedef void (*shutdown_fn)(void *, int);
|
|||
|
||||
#define SHUTDOWN_PRI_FIRST EVENTHANDLER_PRI_FIRST
|
||||
#define SHUTDOWN_PRI_DEFAULT EVENTHANDLER_PRI_ANY
|
||||
#define SHUTDOWN_PRI_LAST EVENTHANDLER_PRI_FIRST
|
||||
#define SHUTDOWN_PRI_LAST EVENTHANDLER_PRI_LAST
|
||||
|
||||
EVENTHANDLER_DECLARE(shutdown_pre_sync, shutdown_fn); /* before fs sync */
|
||||
EVENTHANDLER_DECLARE(shutdown_post_sync, shutdown_fn); /* after fs sync */
|
||||
|
|
|
|||
Loading…
Reference in a new issue