net/local/local_recvfrom.c: Fix a syslog format error

This commit is contained in:
YAMAMOTO Takashi 2020-11-20 11:56:57 +09:00 committed by Xiang Xiao
parent ba1b6876b4
commit 6ddaa18ee8
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}