mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 13:25:12 +08:00
fs/vfs/fs_epoll.c: Fix syslog formats
This commit is contained in:
committed by
Xiang Xiao
parent
bf29eaabb6
commit
8ce63a47fc
+3
-2
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user