diff options
author | Denis Vlasenko | 2006-12-19 23:36:04 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-12-19 23:36:04 +0000 |
commit | b95636c52fbb058a39548bcbc4e86456ebbd7b7b (patch) | |
tree | 0f82f8e3d225f3bcefdbf7070ae0716f1b309630 /sysklogd | |
parent | 2375d75f3267e6e4370f221fea485eac8e73d402 (diff) | |
download | busybox-b95636c52fbb058a39548bcbc4e86456ebbd7b7b.zip busybox-b95636c52fbb058a39548bcbc4e86456ebbd7b7b.tar.gz |
remove casts from xmalloc()
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/logread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c index 9cc6561..745f976 100644 --- a/sysklogd/logread.c +++ b/sysklogd/logread.c @@ -117,7 +117,7 @@ int logread_main(int argc, char **argv) log_len = buf->tail - i; if (log_len < 0) log_len += buf->size; - buf_data = (char *)xmalloc(log_len); + buf_data = xmalloc(log_len); if (buf->tail < i) { memcpy(buf_data, buf->data+i, buf->size-i); |