aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/e2p
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-19 23:36:04 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-19 23:36:04 +0000
commitb95636c52fbb058a39548bcbc4e86456ebbd7b7b (patch)
tree0f82f8e3d225f3bcefdbf7070ae0716f1b309630 /e2fsprogs/e2p
parent2375d75f3267e6e4370f221fea485eac8e73d402 (diff)
downloadbusybox-b95636c52fbb058a39548bcbc4e86456ebbd7b7b.tar.gz
remove casts from xmalloc()
Diffstat (limited to 'e2fsprogs/e2p')
-rw-r--r--e2fsprogs/e2p/iod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsprogs/e2p/iod.c b/e2fsprogs/e2p/iod.c
index 8d4c5cdcb..23ab8d5b5 100644
--- a/e2fsprogs/e2p/iod.c
+++ b/e2fsprogs/e2p/iod.c
@@ -29,7 +29,7 @@ int iterate_on_dir (const char * dir_name,
int max_len, len;
max_len = PATH_MAX + sizeof(struct dirent);
- de = (struct dirent *)xmalloc(max_len+1);
+ de = xmalloc(max_len+1);
memset(de, 0, max_len+1);
dir = opendir (dir_name);