parted/parted-1.8.6-disk_dos.patch

12 lines
437 B
Diff
Raw Normal View History

--- parted-1.8.6/libparted/labels/dos.c.orig 2007-03-13 18:01:09.000000000 +0100
+++ parted-1.8.6/libparted/labels/dos.c 2007-05-04 12:42:07.000000000 +0200
@@ -510,7 +510,7 @@
PedSector c, h, s, a, a_; /* start */
PedSector C, H, S, A, A_; /* end */
PedSector dont_overflow, denum;
- PedSector cyl_size, head_size;
+ PedSector cyl_size, head_size=0;
PedSector cylinders, heads, sectors;
PED_ASSERT (part != NULL, return 0);