diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-03-29 15:19:20 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-03-29 15:19:20 -0700 |
commit | ee397fc13a620812b523407fa393fb8e5b0b7187 (patch) | |
tree | 5e3d12c0d276908f17bbaa9398b6875ae7e59f82 /pcap-linux.c | |
parent | 6a6351ca6af8282028da0fc3e0487de0a6789f36 (diff) |
Fix error message.
Diffstat (limited to 'pcap-linux.c')
-rw-r--r-- | pcap-linux.c | 2 |
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; |