Skip to content

Commit

Permalink
Print timeout in epoll strace in base 10
Browse files Browse the repository at this point in the history
  • Loading branch information
tbodt committed Dec 27, 2018
1 parent 4af803d commit 102279e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/epoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static int epoll_callback(void *context, struct fd *fd, int types, union poll_fd
}

int_t sys_epoll_wait(fd_t epoll_f, addr_t events_addr, int_t max_events, int_t timeout) {
STRACE("epoll_wait(%d, %#x, %d, %x)", epoll_f, events_addr, max_events, timeout);
STRACE("epoll_wait(%d, %#x, %d, %d)", epoll_f, events_addr, max_events, timeout);
struct fd *epoll = f_get(epoll_f);
if (epoll == NULL)
return _EBADF;
Expand Down

0 comments on commit 102279e

Please sign in to comment.