aboutsummaryrefslogtreecommitdiffstats
path: root/com32/mboot/mboot.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-03-29 13:22:45 -0700
committerH. Peter Anvin <hpa@zytor.com>2010-03-29 13:22:45 -0700
commitd474e4fc651971f13a21cd73bd7768c8be352456 (patch)
tree4c5dcfd319d4139a556e5d8cb64d42b72c5d4c9b /com32/mboot/mboot.c
parent1ca27ea6c2fbdc14f06d821cac440898e08ce087 (diff)
downloadsyslinux-d474e4fc651971f13a21cd73bd7768c8be352456.tar.gz
syslinux-d474e4fc651971f13a21cd73bd7768c8be352456.tar.xz
syslinux-d474e4fc651971f13a21cd73bd7768c8be352456.zip
mboot: set boot loader name
Set the boot loader name based on syslinux_version()->version_string. Based on a prior patch by Sebastian Herbszt <herbszt@gmx.de>. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/mboot/mboot.c')
-rw-r--r--com32/mboot/mboot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/com32/mboot/mboot.c b/com32/mboot/mboot.c
index 8425e068..d008da0f 100644
--- a/com32/mboot/mboot.c
+++ b/com32/mboot/mboot.c
@@ -1,7 +1,7 @@
/* ----------------------------------------------------------------------- *
*
* Copyright 2007-2008 H. Peter Anvin - All Rights Reserved
- * Copyright 2009 Intel Corporation; author: H. Peter Anvin
+ * Copyright 2009-2010 Intel Corporation; author: H. Peter Anvin
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
@@ -222,6 +222,8 @@ int main(int argc, char *argv[])
/* Add auxilliary information */
mboot_make_memmap();
mboot_apm();
+ mboot_syslinux_info();
+
if (opt.solaris)
mboot_solaris_dhcp_hack();