mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 13:08:26 +00:00
fs/vfs/fs_epoll.c: Fix syslog formats
This commit is contained in:
parent
bf29eaabb6
commit
8ce63a47fc
1 changed files with 3 additions and 2 deletions
|
|
@ -41,6 +41,7 @@
|
|||
|
||||
#include <sys/epoll.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <poll.h>
|
||||
#include <errno.h>
|
||||
|
|
@ -165,7 +166,7 @@ int epoll_ctl(int epfd, int op, int fd, struct epoll_event *ev)
|
|||
switch (op)
|
||||
{
|
||||
case EPOLL_CTL_ADD:
|
||||
finfo("%08x CTL ADD(%d): fd=%d ev=%08x\n",
|
||||
finfo("%08x CTL ADD(%d): fd=%d ev=%08" PRIx32 "\n",
|
||||
epfd, eph->occupied, fd, ev->events);
|
||||
|
||||
eph->data[eph->occupied] = ev->data;
|
||||
|
|
@ -202,7 +203,7 @@ int epoll_ctl(int epfd, int op, int fd, struct epoll_event *ev)
|
|||
{
|
||||
int i;
|
||||
|
||||
finfo("%08x CTL MOD(%d): fd=%d ev=%08x\n",
|
||||
finfo("%08x CTL MOD(%d): fd=%d ev=%08" PRIx32 "\n",
|
||||
epfd, eph->occupied, fd, ev->events);
|
||||
|
||||
for (i = 0; i < eph->occupied; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue