commit | 6bef3d1d2216234454875052220ca0f477a820b4 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Tue Nov 06 03:05:54 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Tue Nov 06 03:05:54 2007 +0000 |
tree | 717060345370b781d3d1cde7ab4dd29304a066e8 | |
parent | 1bec1b980e3cf5ad604fb0c2038a3ab83d9ab5f5 [diff] [blame] |
fbset: fix buglet where we were using wrong pointer readahead: stop using stdio.h *: style fixes
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 01c01bd..3b60847 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c
@@ -1837,7 +1837,8 @@ last_p_start_pos = 0; } pe = &ptes[i]; - if ((p = pe->part_table)->sys_ind) { + p = pe->part_table; + if (p->sys_ind) { p_start_pos = get_partition_start(pe); if (last_p_start_pos > p_start_pos) {