fs/epoll: fix compile break about change type of pollevent_t
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
2f2e4680d0
commit
25d7dfe990
@ -817,7 +817,7 @@ int CInput::session(void)
|
||||
|
||||
if ((pfd[KBD_INDEX].revents & (POLLERR | POLLHUP)) != 0)
|
||||
{
|
||||
twmerr("ERROR: keyboard poll() failed. revents=%04x\n",
|
||||
twmerr("ERROR: keyboard poll() failed. revents=%08" PRIx32 "\n",
|
||||
pfd[KBD_INDEX].revents);
|
||||
ret = -EIO;
|
||||
break;
|
||||
@ -839,7 +839,7 @@ int CInput::session(void)
|
||||
|
||||
if ((pfd[MOUSE_INDEX].revents & (POLLERR | POLLHUP)) != 0)
|
||||
{
|
||||
twmerr("ERROR: Mouse poll() failed. revents=%04x\n",
|
||||
twmerr("ERROR: Mouse poll() failed. revents=%08" PRIx32 "\n",
|
||||
pfd[MOUSE_INDEX].revents);
|
||||
ret = -EIO;
|
||||
break;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* apps/netutils/thttpd/timers.c
|
||||
* apps/netutils/thttpd/fdwatch.c
|
||||
* FD watcher routines for poll()
|
||||
*
|
||||
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
@ -296,7 +296,7 @@ int fdwatch(struct fdwatch_s *fw, long timeout_msecs)
|
||||
{
|
||||
/* Yes... save it in a shorter list */
|
||||
|
||||
fwinfo("pollndx: %d fd: %d revents: %04x\n",
|
||||
fwinfo("pollndx: %d fd: %d revents: %08" PRIx32 "\n",
|
||||
i, fw->pollfds[i].fd, fw->pollfds[i].revents);
|
||||
|
||||
fw->ready[fw->nactive++] = fw->pollfds[i].fd;
|
||||
|
Loading…
Reference in New Issue
Block a user