extlinux: fix handling of /etc/mtab syslinux-3.71-pre3
authorH. Peter Anvin <hpa@zytor.com>
Thu, 3 Jul 2008 02:53:58 +0000 (19:53 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 3 Jul 2008 02:53:58 +0000 (19:53 -0700)
commit537164d509a4227416f6ac5b44c0030d6c79cb41
tree504fdb4af94649960e921957ca5f9cfae077e468
parent2b7251b3905e58ef5c34bb4b009ae537eb1b9333
extlinux: fix handling of /etc/mtab

When we didn't find the filesystem in /proc/mounts, we would go
through /etc/mtab, but then completely botch the parsing thereof.
Move the parsing to a common function to avoid this problem.
NEWS
extlinux/main.c