summaryrefslogtreecommitdiff
path: root/core/ldlinux.asm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-02-27 14:33:13 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-02-27 14:33:13 -0800
commitb04916f5de7f8139607db83c184b832d6402cb0d (patch)
treed3894abc0b88b622bc81a551135e074d81b134f3 /core/ldlinux.asm
parente41d155e6dc4dd0ca33e55209ff2198a1c882a5b (diff)
downloadsyslinux-b04916f5de7f8139607db83c184b832d6402cb0d.tar.gz
YEAR is a number, not a string
The macro YEAR is a number, not a string, so we have to use the asciidec macro.
Diffstat (limited to 'core/ldlinux.asm')
-rw-r--r--core/ldlinux.asm5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/ldlinux.asm b/core/ldlinux.asm
index d911e9f5..a24f396a 100644
--- a/core/ldlinux.asm
+++ b/core/ldlinux.asm
@@ -2049,8 +2049,9 @@ getfatsector:
; -----------------------------------------------------------------------------
section .data
-copyright_str db ' Copyright (C) 1994-', YEAR, ' H. Peter Anvin'
- db CR, LF, 0
+copyright_str db ' Copyright (C) 1994-'
+ asciidec YEAR
+ db ' H. Peter Anvin', CR, LF, 0
err_bootfailed db CR, LF, 'Boot failed: please change disks and press '
db 'a key to continue.', CR, LF, 0
syslinux_cfg1 db '/boot' ; /boot/syslinux/syslinux.cfg