Explorar o código

- compile fix for mode=debug

Andrei Pelinescu-Onciul %!s(int64=20) %!d(string=hai) anos
pai
achega
eab4338326
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      io_wait.h

+ 1 - 1
io_wait.h

@@ -286,7 +286,7 @@ inline static int io_watch_add(	io_wait_h* h,
 			set_fd_flags(O_ASYNC| O_NONBLOCK);
 #ifdef EXTRA_DEBUG
 			DBG("io_watch_add: sigio_rt on f %d, signal %d to pid %d\n",
-					fd,  h->signo, pid);
+					fd,  h->signo, my_pid());
 #endif
 			/* empty socket receive buffer, if buffer is already full
 			 * (e.g. early media), no more space to put packets