Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[comboot] Match version strings to SYSLINUX style
In the actual SYSLINUX suite's comboot implementation, the version
string is prefixed by CR LF, and the copyright string has a leading
space.  Some tools (specifically HDT) assume these padding characters
exist, so we should probably return strings in a similar format.

Signed-off-by: Michael Brown <mcb30@etherboot.org>
  • Loading branch information
danielverkamp authored and Michael Brown committed Mar 1, 2010
1 parent f5f8ee0 commit 12defec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arch/i386/interface/syslinux/comboot_call.c
Expand Up @@ -43,11 +43,11 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include "config/serial.h"

/** The "SYSLINUX" version string */
static char __data16_array ( syslinux_version, [] ) = "gPXE " VERSION;
static char __data16_array ( syslinux_version, [] ) = "\r\ngPXE " VERSION;
#define syslinux_version __use_data16 ( syslinux_version )

/** The "SYSLINUX" copyright string */
static char __data16_array ( syslinux_copyright, [] ) = "http://etherboot.org";
static char __data16_array ( syslinux_copyright, [] ) = " http://etherboot.org";
#define syslinux_copyright __use_data16 ( syslinux_copyright )

static char __data16_array ( syslinux_configuration_file, [] ) = "";
Expand Down

0 comments on commit 12defec

Please sign in to comment.