Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a249e8
)
lib: Fixed epoll error message.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 20 Sep 2011 15:09:56 +0000
(17:09 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 20 Sep 2011 15:09:56 +0000
(17:09 +0200)
lib/mtio-epoll.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/mtio-epoll.c
b/lib/mtio-epoll.c
index
511af81
..
85ee4a1
100644
(file)
--- a/
lib/mtio-epoll.c
+++ b/
lib/mtio-epoll.c
@@
-188,7
+188,7
@@
void ioloop(void)
nev = epoll_wait(epfd, evr, sizeof(evr) / sizeof(*evr), toval);
if(nev < 0) {
if(errno != EINTR) {
- flog(LOG_CRIT, "ioloop:
selec
t errored out: %s", strerror(errno));
+ flog(LOG_CRIT, "ioloop:
epoll_wai
t errored out: %s", strerror(errno));
/* To avoid CPU hogging in case it's bad, which it
* probably is. */
sleep(1);