summaryrefslogtreecommitdiffstats
path: root/src/core/device.c
diff options
context:
space:
mode:
authorMichael Brown2019-01-25 15:53:43 +0100
committerMichael Brown2019-01-25 15:53:43 +0100
commit36a4c85f911c85f5ab183331ff74d125f9a9ed32 (patch)
tree2954c7b32d75848821bd361c40432544e7d4a84a /src/core/device.c
parent[util] Add support for EFI ROM images (diff)
downloadipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.tar.gz
ipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.tar.xz
ipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.zip
[init] Show startup and shutdown function names in debug messages
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core/device.c')
-rw-r--r--src/core/device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/device.c b/src/core/device.c
index 77d7b719..efe4eb68 100644
--- a/src/core/device.c
+++ b/src/core/device.c
@@ -111,6 +111,7 @@ static void remove_devices ( int booting __unused ) {
}
struct startup_fn startup_devices __startup_fn ( STARTUP_NORMAL ) = {
+ .name = "devices",
.startup = probe_devices,
.shutdown = remove_devices,
};