diff options
author | Feng Tang <feng.tang@intel.com> | 2010-07-16 16:37:21 +0800 |
---|---|---|
committer | Feng Tang <feng.tang@intel.com> | 2010-07-20 11:10:05 +0800 |
commit | 64076d080c03973acbbb12e9b80b017920b1c259 (patch) | |
tree | 771fbb4dd2bb4e18631936148f25a26808851b2f /libinstaller | |
parent | 896f89e8e427bf6aa9f745893b69edfcf91c7cb5 (diff) | |
download | syslinux-64076d080c03973acbbb12e9b80b017920b1c259.tar.gz |
elflink: comment off the size check in syslxmod.c
Diffstat (limited to 'libinstaller')
-rw-r--r-- | libinstaller/syslxmod.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libinstaller/syslxmod.c b/libinstaller/syslxmod.c index a68f19fb..b4d78365 100644 --- a/libinstaller/syslxmod.c +++ b/libinstaller/syslxmod.c @@ -146,11 +146,13 @@ int syslinux_patch(const sector_t *sectp, int nsectors, ex = ptr(boot_image, &epa->secptroffset); nptrs = get_16_sl(&epa->secptrcnt); +#if 0 if (nsect > nptrs) { /* Not necessarily an error in this case, but a general problem */ fprintf(stderr, "Insufficient extent space, build error!\n"); exit(1); } +#endif /* -1 for the pointer in the boot sector, -2 for the two ADVs */ generate_extents(ex, nptrs, sectp, nsect-1-2); |