aboutsummaryrefslogtreecommitdiffstats
path: root/win32/syslinux.c
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-15 21:56:04 +0000
committerhpa <hpa>2004-12-15 21:56:04 +0000
commit9ebb55c50870cc136da18715cc1a53db5c3f8431 (patch)
treec40b7b7419f0bac205b117041d56bc960fd2aff5 /win32/syslinux.c
parent77cfe4bb9b00690ab3b87a105eed5c430f97bb18 (diff)
downloadsyslinux-9ebb55c50870cc136da18715cc1a53db5c3f8431.tar.gz
syslinux-9ebb55c50870cc136da18715cc1a53db5c3f8431.tar.xz
syslinux-9ebb55c50870cc136da18715cc1a53db5c3f8431.zip
Adjust the interface to syslxmod.c so the DOS installer doesn't need
printf().
Diffstat (limited to 'win32/syslinux.c')
-rw-r--r--win32/syslinux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/syslinux.c b/win32/syslinux.c
index 0b6b1926..68ebb106 100644
--- a/win32/syslinux.c
+++ b/win32/syslinux.c
@@ -167,7 +167,8 @@ int main(int argc, char *argv[])
}
/* Check to see that what we got was indeed an MS-DOS boot sector/superblock */
- if(!syslinux_check_bootsect(sectbuf,drive)) {
+ if(!syslinux_check_bootsect(sectbuf,&errmsg)) {
+ fprintf(stderr, "%s\n", errmsg);
exit(1);
}