From 8ce63a47fc9d34b9a8862c19407ed0960cce5412 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 20 Nov 2020 18:05:35 +0900 Subject: [PATCH] fs/vfs/fs_epoll.c: Fix syslog formats --- fs/vfs/fs_epoll.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/vfs/fs_epoll.c b/fs/vfs/fs_epoll.c index 4babda57c79..ef1b1fd9965 100644 --- a/fs/vfs/fs_epoll.c +++ b/fs/vfs/fs_epoll.c @@ -41,6 +41,7 @@ #include +#include #include #include #include @@ -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++)