Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/blkid/tag.c
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/blkid/tag.c
r1765 r2725 22 22 blkid_tag tag; 23 23 24 if (!(tag = (blkid_tag) calloc(1, sizeof(struct blkid_struct_tag)))) 25 return NULL; 24 tag = xzalloc(sizeof(struct blkid_struct_tag)); 26 25 27 26 INIT_LIST_HEAD(&tag->bit_tags); … … 114 113 { 115 114 blkid_tag t = 0, head = 0; 116 char *val = 0;115 char *val = NULL; 117 116 118 117 if (!dev || !name) … … 365 364 { 366 365 blkid_tag_iterate iter; 367 blkid_cache 366 blkid_cache cache = NULL; 368 367 blkid_dev dev; 369 368 int c, ret, found;
Note:
See TracChangeset
for help on using the changeset viewer.