about summary refs log tree commit homepage
path: root/lib/sleepy_penguin/epoll.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sleepy_penguin/epoll.rb')
-rw-r--r--lib/sleepy_penguin/epoll.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sleepy_penguin/epoll.rb b/lib/sleepy_penguin/epoll.rb
index 637db8d..da1502e 100644
--- a/lib/sleepy_penguin/epoll.rb
+++ b/lib/sleepy_penguin/epoll.rb
@@ -166,7 +166,7 @@ class SleepyPenguin::Epoll
         begin
           @io.epoll_ctl(CTL_MOD, io, events)
         rescue Errno::ENOENT
-          warn "epoll event cache failed (mod -> add)"
+          warn "epoll event cache failed (mod -> add)\n"
           @io.epoll_ctl(CTL_ADD, io, events)
           @marks[fd] = io
         end
@@ -174,7 +174,7 @@ class SleepyPenguin::Epoll
         begin
           @io.epoll_ctl(CTL_ADD, io, events)
         rescue Errno::EEXIST
-          warn "epoll event cache failed (add -> mod)"
+          warn "epoll event cache failed (add -> mod)\n"
           @io.epoll_ctl(CTL_MOD, io, events)
         end
         @marks[fd] = io