summaryrefslogtreecommitdiffstats
path: root/src/core/main.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-13 00:44:02 +0200
committerMichael Brown2005-04-13 00:44:02 +0200
commit241fb0f3cd3665ea8805b119989a50c76bcc8639 (patch)
tree640ee9ae20baf0f9fe22baf1c2f796ff9cacaee1 /src/core/main.c
parentAdd print_info method to dev_operations. (diff)
downloadipxe-241fb0f3cd3665ea8805b119989a50c76bcc8639.tar.gz
ipxe-241fb0f3cd3665ea8805b119989a50c76bcc8639.tar.xz
ipxe-241fb0f3cd3665ea8805b119989a50c76bcc8639.zip
Use dev's print_info method to print standardised information about
the boot device.
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 19802d9d..da1c58a6 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -183,6 +183,9 @@ int main ( void ) {
continue;
}
+ /* Print device info */
+ print_info ( &dev );
+
/* Load configuration (e.g. DHCP) */
if ( ! load_configuration ( &dev ) ) {
/* DHCP failed */