commit | d02db892440499a072ea8c83c2370e9d9c103098 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Mon Mar 17 09:05:21 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Mon Mar 17 09:05:21 2008 +0000 |
tree | 3b91afcc3cc91b485e23807d75c546b2b73b1940 | |
parent | 85c247161b9e1e7c71ebcb874ed7b6a23b6a5b50 [diff] [blame] |
clean up TODO file. No real code changes.
diff --git a/e2fsprogs/old_e2fsprogs/blkid/dev.c b/e2fsprogs/old_e2fsprogs/blkid/dev.c index f6503f1..bb0cc91 100644 --- a/e2fsprogs/old_e2fsprogs/blkid/dev.c +++ b/e2fsprogs/old_e2fsprogs/blkid/dev.c
@@ -20,8 +20,7 @@ { blkid_dev dev; - if (!(dev = (blkid_dev) calloc(1, sizeof(struct blkid_struct_dev)))) - return NULL; + dev = xzalloc(sizeof(struct blkid_struct_dev)); INIT_LIST_HEAD(&dev->bid_devs); INIT_LIST_HEAD(&dev->bid_tags);