Skip to content

Commit

Permalink
examples/gnss_atcmd: Fix -Wformat warning
Browse files Browse the repository at this point in the history
Fix warning of pollfd.events by -Wformat.
  • Loading branch information
SPRESENSE committed Nov 7, 2022
1 parent 9f67ca2 commit 0b94cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/gnss_atcmd/gnss_atcmd_main.c
Expand Up @@ -450,7 +450,7 @@ static FAR void atcmd_emulator(FAR void *arg)
ret = poll(fds, GNSS_POLL_FD_NUM, GNSS_POLL_TIMEOUT_FOREVER);
if (ret <= 0 && errno != EINTR)
{
printf("poll error %d,%d,%x,%x\n", ret, errno, fds[0].events,
printf("poll error %d,%d,%lx,%lx\n", ret, errno, fds[0].events,
fds[0].revents);
break;
}
Expand Down

0 comments on commit 0b94cb4

Please sign in to comment.