summaryrefslogtreecommitdiff
path: root/syslinux.h
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-19 00:25:14 +0000
committerhpa <hpa>2004-12-19 00:25:14 +0000
commitb544013ca57aea35b878e380de19c22ac1abb40e (patch)
treecf3f7ccadc1bddbb73c778441a8bdf5020ff6159 /syslinux.h
parentfc50ce2dd9f4de675605169495a980426fb97181 (diff)
downloadsyslinux-b544013ca57aea35b878e380de19c22ac1abb40e.tar.gz
Beef up the sanity checking of the boot sector. For really better checking
we should be checking the FAT for the media signature, too.
Diffstat (limited to 'syslinux.h')
-rw-r--r--syslinux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslinux.h b/syslinux.h
index dd555a91..ccfb0f0c 100644
--- a/syslinux.h
+++ b/syslinux.h
@@ -31,7 +31,7 @@ void syslinux_make_stupid(void);
void syslinux_make_bootsect(void *);
/* Check to see that what we got was indeed an MS-DOS boot sector/superblock */
-int syslinux_check_bootsect(const void *bs, const char **errmsg);
+const char *syslinux_check_bootsect(const void *bs);
/* This patches the boot sector and ldlinux.sys based on a sector map */
int syslinux_patch(const uint32_t *sectors, int nsectors);