summaryrefslogtreecommitdiff
path: root/libparted/labels/mac.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-12-16 18:02:58 +0100
committerJim Meyering <meyering@redhat.com>2009-12-16 18:02:58 +0100
commit7f5d6cfd525c520404c51770965328ece8da0a17 (patch)
tree4b1f312229b2ba596260984e4d051387da5bb69c /libparted/labels/mac.c
parent75720971bef62ba24a285165554631e80a23f3b6 (diff)
downloadparted-7f5d6cfd525c520404c51770965328ece8da0a17.tar.gz
maint: use "int", not "bool" for value returned by ped_device_write
* libparted/labels/gpt.c (gpt_write): Correct type of local. * libparted/labels/mac.c (mac_clobber): Likewise. * libparted/labels/sun.c (sun_write): Likewise.
Diffstat (limited to 'libparted/labels/mac.c')
-rw-r--r--libparted/labels/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libparted/labels/mac.c b/libparted/labels/mac.c
index 27756ba..e90ab07 100644
--- a/libparted/labels/mac.c
+++ b/libparted/labels/mac.c
@@ -394,7 +394,7 @@ mac_clobber (PedDevice* dev)
}
memset (buf, 0, dev->sector_size);
- bool ok = ped_device_write (dev, buf, 0, 1);
+ int ok = ped_device_write (dev, buf, 0, 1);
free (buf);
if (!ok)
return 0;