summaryrefslogtreecommitdiff
path: root/src/ae_evport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ae_evport.c')
-rw-r--r--src/ae_evport.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ae_evport.c b/src/ae_evport.c
index 7a0b03aea..025409331 100644
--- a/src/ae_evport.c
+++ b/src/ae_evport.c
@@ -291,8 +291,7 @@ static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) {
return 0;
/* Any other error indicates a bug. */
- perror("aeApiPoll: port_get");
- abort();
+ panic("aeApiPoll: port_get, %s", strerror(errno));
}
state->npending = nevents;