Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- fdisks/sfdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdisks/sfdisk.c b/fdisks/sfdisk.c index 6b757a7..152e5f5 100644 --- a/fdisks/sfdisk.c +++ b/fdisks/sfdisk.c @@ -1505,7 +1505,7 @@ msdos_partition(char *dev, int fd, unsigned long start, struct disk_desc *z) { struct partition pt; struct sector *s; struct part_desc *partitions = &(z->partitions[0]); - int pno = z->partno; + int pno; int bsd_later = 1; unsigned short sig, magic; #ifdef __linux__ -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html