aboutsummaryrefslogtreecommitdiff
path: root/pcap-bt-linux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-11-30 22:45:03 -0800
committerGuy Harris <guy@alum.mit.edu>2011-11-30 22:45:03 -0800
commitbd93f801f1232508fcba3f8c2c5fe4f4372d3a49 (patch)
treeb41c14eadcf56e7002b2032d5d80f56b1aeb9326 /pcap-bt-linux.c
parent3127856ef665d3f318030c088d91514555e2d842 (diff)
Don't drive on if fopen() or opendir() returns NULL.
Always either return 0, for "I can't scan that sysfs/procfs file because it doesn't exist", if the error is ENOENT, and return -1 with an error message for all other errors. Thanks to Michal Sekletar for finding that.
Diffstat (limited to 'pcap-bt-linux.c')
0 files changed, 0 insertions, 0 deletions