aboutsummaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-03-29 15:19:20 -0700
committerGuy Harris <guy@alum.mit.edu>2015-03-29 15:19:20 -0700
commitee397fc13a620812b523407fa393fb8e5b0b7187 (patch)
tree5e3d12c0d276908f17bbaa9398b6875ae7e59f82 /pcap-linux.c
parent6a6351ca6af8282028da0fc3e0487de0a6789f36 (diff)
Fix error message.
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index 789f9dd7..9d8629f1 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -5071,7 +5071,7 @@ has_wext(int sock_fd, const char *device, char *ebuf)
if (ioctl(sock_fd, SIOCGIWNAME, &ireq) >= 0)
return 1; /* yes */
snprintf(ebuf, PCAP_ERRBUF_SIZE,
- "%s: SIOCGIWPRIV: %s", device, pcap_strerror(errno));
+ "%s: SIOCGIWNAME: %s", device, pcap_strerror(errno));
if (errno == ENODEV)
return PCAP_ERROR_NO_SUCH_DEVICE;
return 0;