summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-03 02:56:00 +0000
committerDenis Vlasenko2007-01-03 02:56:00 +0000
commit9b1381fd2fb7179f731709542507015799f90a51 (patch)
tree66b3617e0b6ceed9c3123000104df0d78bf9bf2a /util-linux
parentbb3d0fab3b46d64e93687bc30b405d0878eca296 (diff)
downloadbusybox-9b1381fd2fb7179f731709542507015799f90a51.zip
busybox-9b1381fd2fb7179f731709542507015799f90a51.tar.gz
convert calloc to xzalloc
fix sleep-on-die option
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk_sgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdisk_sgi.c b/util-linux/fdisk_sgi.c
index d8acd6b..c83ef24 100644
--- a/util-linux/fdisk_sgi.c
+++ b/util-linux/fdisk_sgi.c
@@ -869,7 +869,7 @@ sgi_set_xcyl(void)
static sgiinfo *
fill_sgiinfo(void)
{
- sgiinfo *info = calloc(1, sizeof(sgiinfo));
+ sgiinfo *info = xzalloc(sizeof(sgiinfo));
info->magic = SGI_SSWAP32(SGI_INFO_MAGIC);
info->b1 = SGI_SSWAP32(-1);