fs/poll: change format for type pollevent_t

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
Jiuzhu Dong
2022-04-01 20:59:55 +08:00
committed by Xiang Xiao
parent d535943a69
commit d87cf8d4ca
32 changed files with 48 additions and 42 deletions
+3 -2
View File
@@ -215,7 +215,7 @@ static void ft5x06_notify(FAR struct ft5x06_dev_s *priv)
if (fds)
{
fds->revents |= POLLIN;
iinfo("Report events: %02x\n", fds->revents);
iinfo("Report events: %08" PRIx32 "\n", fds->revents);
nxsem_post(fds->sem);
}
}
@@ -1024,7 +1024,8 @@ static int ft5x06_poll(FAR struct file *filep, FAR struct pollfd *fds,
if ((fds->events & POLLIN) == 0)
{
ierr("ERROR: Missing POLLIN: revents: %08x\n", fds->revents);
ierr("ERROR: Missing POLLIN: revents: %08" PRIx32 "\n",
fds->revents);
ret = -EDEADLK;
goto errout;
}