mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 04:58:28 +00:00
net/local/local_recvfrom.c: Fix a syslog format error
This commit is contained in:
parent
ba1b6876b4
commit
6ddaa18ee8
1 changed files with 2 additions and 1 deletions
|
|
@ -42,6 +42,7 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <inttypes.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
|
|
@ -445,7 +446,7 @@ ssize_t local_recvfrom(FAR struct socket *psock, FAR void *buf,
|
|||
#endif
|
||||
{
|
||||
DEBUGPANIC();
|
||||
nerr("ERROR: Unrecognized socket type: %s\n", psock->s_type);
|
||||
nerr("ERROR: Unrecognized socket type: %" PRIu8 "\n", psock->s_type);
|
||||
return -EINVAL;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue