diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2019-12-24 14:46:43 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2019-12-24 14:46:43 +0300 |
commit | fe7c3a4b74b9f1ed57d22316069602acd4794265 (patch) | |
tree | ced548afd25849349a44246434b303f2007bff06 /accel-pppd/triton/md.c | |
parent | 14203c92120246c3be8d4167392165b68e4fa8d5 (diff) | |
download | accel-ppp-fe7c3a4b74b9f1ed57d22316069602acd4794265.tar.gz accel-ppp-fe7c3a4b74b9f1ed57d22316069602acd4794265.zip |
triton: small fixes
Diffstat (limited to 'accel-pppd/triton/md.c')
-rw-r--r-- | accel-pppd/triton/md.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/accel-pppd/triton/md.c b/accel-pppd/triton/md.c index b490d0c0..9b7dd81a 100644 --- a/accel-pppd/triton/md.c +++ b/accel-pppd/triton/md.c @@ -9,8 +9,6 @@ #include "triton_p.h" -#include "memdebug.h" - extern int max_events; static int epoll_fd; @@ -35,7 +33,7 @@ int md_init(void) fcntl(epoll_fd, F_SETFD, O_CLOEXEC); - epoll_events = _malloc(max_events * sizeof(struct epoll_event)); + epoll_events = malloc(max_events * sizeof(struct epoll_event)); if (!epoll_events) { fprintf(stderr,"md:cann't allocate memory\n"); return -1; |