diff options
author | Kozlov Dmitry <dima@server> | 2011-01-28 15:44:46 +0300 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2011-01-28 15:44:46 +0300 |
commit | e6d2aea48d3402fe2542ae6c055a607dd37a4bba (patch) | |
tree | 9a827ecdedd7ba7df33cfbab2131c97d31f2d2aa /accel-pppd/triton/md.c | |
parent | a69ae308efe400d14ecbab676a5e7592908c6b46 (diff) | |
download | accel-ppp-e6d2aea48d3402fe2542ae6c055a607dd37a4bba.tar.gz accel-ppp-e6d2aea48d3402fe2542ae6c055a607dd37a4bba.zip |
fix unterminated messages in core.log
Diffstat (limited to 'accel-pppd/triton/md.c')
-rw-r--r-- | accel-pppd/triton/md.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accel-pppd/triton/md.c b/accel-pppd/triton/md.c index 84073d05..6c1092d0 100644 --- a/accel-pppd/triton/md.c +++ b/accel-pppd/triton/md.c @@ -72,7 +72,7 @@ static void *md_thread(void *arg) if (n < 0) { if (errno == EINTR) continue; - triton_log_error("md:epoll_wait: %s\n", strerror(errno)); + triton_log_error("md:epoll_wait: %s", strerror(errno)); _exit(-1); } @@ -174,7 +174,7 @@ int __export triton_md_enable_handler(struct triton_md_handler_t *ud, int mode) r = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, h->ud->fd, &h->epoll_event); if (r) { - triton_log_error("md:epoll_ctl: %s\n",strerror(errno)); + triton_log_error("md:epoll_ctl: %s",strerror(errno)); abort(); } @@ -201,7 +201,7 @@ int __export triton_md_disable_handler(struct triton_md_handler_t *ud,int mode) } if (r) { - triton_log_error("md:epoll_ctl: %s\n",strerror(errno)); + triton_log_error("md:epoll_ctl: %s",strerror(errno)); abort(); } |