OSDN Git Service

don't call ped_partition_new with "0" as 2nd arg
authorJim Meyering <meyering@redhat.com>
Sat, 26 Jul 2008 19:22:10 +0000 (21:22 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 27 Jul 2008 09:57:22 +0000 (11:57 +0200)
commite1e7be655deded3e2d94d8c737249b6c414e303a
tree4bc9ff11751ba987ab8a5ebd63019780085f0965
parent4b577b8c87ae91fc6686954f768772df93d3d360
don't call ped_partition_new with "0" as 2nd arg

Instead, use an explicit and equivalent PED_PARTITION_NORMAL.
* libparted/labels/bsd.c (bsd_read):
* libparted/labels/dasd.c (dasd_read):
* libparted/labels/gpt.c (_parse_part_entry):
* libparted/labels/loop.c (loop_read):
* libparted/labels/mac.c (_disk_add_part_map_entry)
(_rawpart_analyse):
* libparted/labels/pc98.c (read_table):
* libparted/labels/rdb.c (amiga_read):
* libparted/labels/sun.c (sun_read):
libparted/labels/bsd.c
libparted/labels/dasd.c
libparted/labels/gpt.c
libparted/labels/loop.c
libparted/labels/mac.c
libparted/labels/pc98.c
libparted/labels/rdb.c
libparted/labels/sun.c