aboutsummaryrefslogtreecommitdiffstats
path: root/dos
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-28 22:51:44 +0000
committerhpa <hpa>2004-12-28 22:51:44 +0000
commit4a1a9b8d04a9f59cec4e4ca71dd3b4bf93a84f43 (patch)
tree68b8ddc5d2f45f47d8e261306ce41bbae2bd5f2e /dos
parent539090d9498ab259dd625de9a45646da3b9c5831 (diff)
downloadsyslinux-devel-4a1a9b8d04a9f59cec4e4ca71dd3b4bf93a84f43.tar.gz
syslinux-devel-4a1a9b8d04a9f59cec4e4ca71dd3b4bf93a84f43.tar.xz
syslinux-devel-4a1a9b8d04a9f59cec4e4ca71dd3b4bf93a84f43.zip
Fix the scanning of the partition table (for the -a option)
Diffstat (limited to 'dos')
-rw-r--r--dos/syslinux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dos/syslinux.c b/dos/syslinux.c
index 3fbaee79..000b68c3 100644
--- a/dos/syslinux.c
+++ b/dos/syslinux.c
@@ -425,6 +425,7 @@ static void adjust_mbr(int device, int writembr, int set_active)
} else {
me->active = 0;
}
+ me++;
}
if ( found < 1 ) {