From 265d6393bf9ef52e7ef7de97ca9c031da82a5ad1 Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Fri, 27 May 2022 16:47:05 -0400 Subject: Move init::SanityCheck to kernel::SanityCheck --- src/node/interfaces.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/node') diff --git a/src/node/interfaces.cpp b/src/node/interfaces.cpp index 40defd5bab..7752fb0f65 100644 --- a/src/node/interfaces.cpp +++ b/src/node/interfaces.cpp @@ -94,7 +94,7 @@ public: if (!AppInitParameterInteraction(gArgs, /*use_syscall_sandbox=*/false)) return false; m_context->kernel = std::make_unique(); - if (!AppInitSanityChecks()) return false; + if (!AppInitSanityChecks(*m_context->kernel)) return false; if (!AppInitLockDataDirectory()) return false; if (!AppInitInterfaces(*m_context)) return false; -- cgit v1.2.3