fs/vfs/fs_epoll.c: Fix syslog formats

This commit is contained in:
YAMAMOTO Takashi 2020-11-20 18:05:35 +09:00 committed by Xiang Xiao
parent bf29eaabb6
commit 8ce63a47fc

View file

@ -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++)