]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-linux.c
Clean up pcap_do_addexit() and calls to it.
[libpcap] / pcap-linux.c
index 3cfe5686cc403e3d40da2e321a638c8b04b37936..0792f0d5a7cfd9cc79c0754b0fa5e35de4d3fd01 100644 (file)
@@ -925,8 +925,6 @@ added:
                 * "atexit()" failed; don't put the interface
                 * in rfmon mode, just give up.
                 */
-               pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
-                   "%s: atexit failed", device);
                del_mon_if(handle, sock_fd, &nlstate, device,
                    handlep->mondevice);
                nl80211_cleanup(&nlstate);