* util/hostdisk.c (make_device_name): Change to new partition naming.
This commit is contained in:
parent
0973daeb38
commit
0b830b8f5e
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2010-04-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/hostdisk.c (make_device_name): Change to new partition naming.
|
||||||
|
|
||||||
2010-04-17 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-04-17 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* disk/lvm.c (grub_lvm_memberlist): Issue an error if pv->disk = 0.
|
* disk/lvm.c (grub_lvm_memberlist): Issue an error if pv->disk = 0.
|
||||||
|
|
|
@ -861,7 +861,7 @@ make_device_name (int drive, int dos_part, int bsd_part)
|
||||||
dos_part_str = xasprintf (",%d", dos_part + 1);
|
dos_part_str = xasprintf (",%d", dos_part + 1);
|
||||||
|
|
||||||
if (bsd_part >= 0)
|
if (bsd_part >= 0)
|
||||||
bsd_part_str = xasprintf (",%c", bsd_part + 'a');
|
bsd_part_str = xasprintf (",%d", bsd_part + 1);
|
||||||
|
|
||||||
ret = xasprintf ("%s%s%s", map[drive].drive,
|
ret = xasprintf ("%s%s%s", map[drive].drive,
|
||||||
dos_part_str ? : "",
|
dos_part_str ? : "",
|
||||||
|
|
Loading…
Reference in a new issue