loadfile: make sure we don't trash errno
authorH. Peter Anvin <hpa@zytor.com>
Mon, 16 Jun 2008 00:03:18 +0000 (17:03 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 16 Jun 2008 00:03:18 +0000 (17:03 -0700)
commit99d175aa34800b281c65210ce436cf0a423906fc
treefd1fe0ae368cf338b07fcd457956955e371b3d23
parentd8f1d5b4731228689b6badd0b34720c3dc9eeeed
loadfile: make sure we don't trash errno

Make sure we don't trash a useful value in errno.
com32/lib/syslinux/loadfile.c