linguini1 opened a new pull request, #16479: URL: https://github.com/apache/nuttx/pull/16479
## Summary Silence format string warning by adding missing '%' sign. ## Impact Impacts only the build system for the NAU7802 to remove the warning (and now the logging statement will work correctly). ## Testing Compiled after the change and verified that the warning disappeared. Old warning shown below: ```console sensors/nau7802.c: In function 'nau7802_control': sensors/nau7802.c:691:13: warning: too many arguments for format [-Wformat-extra-args] 691 | snerr("Unknown command for NAU7802: lu\n", cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org