raiden00pl opened a new pull request, #1985:
URL: https://github.com/apache/nuttx-apps/pull/1985
## Summary
rptun/ping: fix invalid use of nsh_error after 31421db6f
reported by CI:
```
Error: nsh_syscmds.c:541:27: error: format string is not a string literal
(potentially insecure) [-Werror,-Wformat-security]
nsh_error(vtbl, g_fmtargrequired);
^~~~~~~~~~~~~~~~
./nsh_console.h:54:49: note: expanded from macro 'nsh_error'
# define nsh_error(v, ...) (v)->error(v, ##__VA_ARGS__)
^~~~~~~~~~~
nsh_syscmds.c:541:27: note: treat the string as an argument to avoid this
nsh_error(vtbl, g_fmtargrequired);
^
"%s",
./nsh_console.h:54:49: note: expanded from macro 'nsh_error'
# define nsh_error(v, ...) (v)->error(v, ##__VA_ARGS__)
```
## Impact
## Testing
CI, I don't get this error locally
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]