From 36a4c85f911c85f5ab183331ff74d125f9a9ed32 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 25 Jan 2019 14:53:43 +0000 Subject: [init] Show startup and shutdown function names in debug messages Signed-off-by: Michael Brown --- src/crypto/rbg.c | 1 + src/crypto/rootcert.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src/crypto') diff --git a/src/crypto/rbg.c b/src/crypto/rbg.c index a5a77e3c..4b45b347 100644 --- a/src/crypto/rbg.c +++ b/src/crypto/rbg.c @@ -126,6 +126,7 @@ static void rbg_shutdown_fn ( int booting __unused ) { /** RBG startup table entry */ struct startup_fn startup_rbg __startup_fn ( STARTUP_NORMAL ) = { + .name = "rbg", .startup = rbg_startup_fn, .shutdown = rbg_shutdown_fn, }; diff --git a/src/crypto/rootcert.c b/src/crypto/rootcert.c index f7b9dcfb..867ff50e 100644 --- a/src/crypto/rootcert.c +++ b/src/crypto/rootcert.c @@ -123,5 +123,6 @@ static void rootcert_init ( void ) { /** Root certificate initialiser */ struct startup_fn rootcert_startup_fn __startup_fn ( STARTUP_LATE ) = { + .name = "rootcert", .startup = rootcert_init, }; -- cgit v1.2.3-55-g7522