wireless/wapi/src/driver_wext.c: Fix a syslog format
This commit is contained in:
parent
e4584b00d6
commit
aea1ba9f5f
@ -57,6 +57,7 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -364,8 +365,9 @@ static int wpa_driver_wext_process_auth_param(int sockfd,
|
|||||||
errcode = errno;
|
errcode = errno;
|
||||||
if (errcode != EOPNOTSUPP)
|
if (errcode != EOPNOTSUPP)
|
||||||
{
|
{
|
||||||
nerr("ERROR: SIOCSIWAUTH(param %d value 0x%x) failed: %d)",
|
nerr("ERROR: SIOCSIWAUTH(param %d value 0x%" PRIx32
|
||||||
idx, value, errcode);
|
") failed: %d)",
|
||||||
|
idx, *value, errcode);
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = errcode == EOPNOTSUPP ? -2 : -1;
|
ret = errcode == EOPNOTSUPP ? -2 : -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user