diff options
author | Michael Brown | 2005-04-18 14:45:31 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-18 14:45:31 +0200 |
commit | ffe77e06835159dcf746ad08ff2c68f1929f9761 (patch) | |
tree | 5670ca288445df2f9b8a620eb87954f3c5fe8685 /src/core/config.c | |
parent | Fix BUILD_SERIAL. (diff) | |
download | ipxe-ffe77e06835159dcf746ad08ff2c68f1929f9761.tar.gz ipxe-ffe77e06835159dcf746ad08ff2c68f1929f9761.tar.xz ipxe-ffe77e06835159dcf746ad08ff2c68f1929f9761.zip |
This is, of course, the neater and much more obvious way to do it.
Diffstat (limited to 'src/core/config.c')
-rw-r--r-- | src/core/config.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/core/config.c b/src/core/config.c index 62ad62af..59db783c 100644 --- a/src/core/config.c +++ b/src/core/config.c @@ -22,25 +22,19 @@ #ifdef BUILD_SERIAL #include "config/.buildserial.h" -#define BUILD_SERIAL_STR "#" XSTR(BUILD_SERIAL_NUM) +#define BUILD_SERIAL_STR " #" XSTR(BUILD_SERIAL_NUM) #else #define BUILD_SERIAL_STR "" #endif #ifdef BUILD_ID -#define BUILD_ID_STR BUILD_ID +#define BUILD_ID_STR " " BUILD_ID #else #define BUILD_ID_STR "" #endif -#if defined(BUILD_ID) && defined(BUILD_SERIAL) -#define BUILD_SPACER " " -#else -#define BUILD_SPACER "" -#endif - #if defined(BUILD_ID) || defined(BUILD_SERIAL) -#define BUILD_STRING " [build " BUILD_ID_STR BUILD_SPACER BUILD_SERIAL_STR "]" +#define BUILD_STRING " [build" BUILD_ID_STR BUILD_SERIAL_STR "]" #else #define BUILD_STRING "" #endif |