diff options
author | Karel Zak | 2012-12-11 18:04:25 +0100 |
---|---|---|
committer | Karel Zak | 2013-03-11 12:47:29 +0100 |
commit | 8a95621d30c4e4c3e279246f80ef4aeed4f5d71c (patch) | |
tree | bf7beca183e58ed7e4c358acd9072007a31a12cc /fdisks/fdiskmaclabel.c | |
parent | libfdisk: improve label deinitialization (diff) | |
download | kernel-qcow2-util-linux-8a95621d30c4e4c3e279246f80ef4aeed4f5d71c.tar.gz kernel-qcow2-util-linux-8a95621d30c4e4c3e279246f80ef4aeed4f5d71c.tar.xz kernel-qcow2-util-linux-8a95621d30c4e4c3e279246f80ef4aeed4f5d71c.zip |
libfdisk: add fdisk_label to driver API
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdiskmaclabel.c')
-rw-r--r-- | fdisks/fdiskmaclabel.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fdisks/fdiskmaclabel.c b/fdisks/fdiskmaclabel.c index f15b802cc..fe989caab 100644 --- a/fdisks/fdiskmaclabel.c +++ b/fdisks/fdiskmaclabel.c @@ -57,7 +57,8 @@ mac_nolabel(struct fdisk_context *cxt) } static int -mac_probe_label(struct fdisk_context *cxt) +mac_probe_label(struct fdisk_context *cxt, + struct fdisk_label *lb __attribute__((__unused__))) { struct mac_partition *maclabel = (struct mac_partition *) cxt->firstsector; @@ -92,9 +93,10 @@ IS_MAC: } static int mac_add_partition( - struct fdisk_context *cxt __attribute__ ((__unused__)), - int partnum __attribute__ ((__unused__)), - struct fdisk_parttype *t __attribute__ ((__unused__))) + struct fdisk_context *cxt __attribute__ ((__unused__)), + struct fdisk_label *lb __attribute__((__unused__)), + int partnum __attribute__ ((__unused__)), + struct fdisk_parttype *t __attribute__ ((__unused__))) { printf(_("\tSorry - this fdisk cannot handle Mac disk labels." "\n\tIf you want to add DOS-type partitions, create" |