X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fselect.c;h=e782258d0de3cec01c6767aa5cb2b2684e1077ac;hb=dc10c643e8a8d008fd16dd6706e9e0018eadf8d2;hp=d33418fdc858fbbe7f929d692dae1533c2e9a271;hpb=49f019c188aa1e0ed5c8cffbcc5533dfb0e732dd;p=~andy%2Flinux diff --git a/fs/select.c b/fs/select.c index d33418fdc85..e782258d0de 100644 --- a/fs/select.c +++ b/fs/select.c @@ -912,7 +912,7 @@ static long do_restart_poll(struct restart_block *restart_block) } SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, - long, timeout_msecs) + int, timeout_msecs) { struct timespec end_time, *to = NULL; int ret;