aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-02-07 10:16:11 +0200
committerJouni Malinen <j@w1.fi>2009-02-07 10:16:11 +0200
commit745cb54e86920827e9abfe4fac56f7ae099eb456 (patch)
tree497f6913c037a154ce0be0f3f499c8bcafe4835c
parent6dbcd00912b3fc3984d1402170340b61ca83f933 (diff)
downloadexternal_wpa_supplicant_8_ti-745cb54e86920827e9abfe4fac56f7ae099eb456.zip
external_wpa_supplicant_8_ti-745cb54e86920827e9abfe4fac56f7ae099eb456.tar.gz
external_wpa_supplicant_8_ti-745cb54e86920827e9abfe4fac56f7ae099eb456.tar.bz2
Removed printf size_t format warning on 64-bit
-rw-r--r--src/drivers/driver_privsep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/driver_privsep.c b/src/drivers/driver_privsep.c
index fb472ac..e329a74 100644
--- a/src/drivers/driver_privsep.c
+++ b/src/drivers/driver_privsep.c
@@ -476,8 +476,8 @@ static void wpa_driver_privsep_receive(int sock, void *eloop_ctx,
os_memcpy(&event, buf, sizeof(int));
event_buf = &buf[sizeof(int)];
event_len = res - sizeof(int);
- wpa_printf(MSG_DEBUG, "privsep: Event %d received (len=%d)",
- event, event_len);
+ wpa_printf(MSG_DEBUG, "privsep: Event %d received (len=%lu)",
+ event, (unsigned long) event_len);
e = event;
switch (e) {