aboutsummaryrefslogtreecommitdiff
path: root/pcap-bt-linux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-12-10 10:42:40 -0800
committerGitHub <noreply@github.com>2018-12-10 10:42:40 -0800
commit62f51e4a1534c74c6c939e3888c1af4310a6fc81 (patch)
tree7854290b45b470e3ee1b278f7084abacfb20489a /pcap-bt-linux.c
parentce3df474294d861a1bcfc4fcc060e1bec9405752 (diff)
parent71cd6260f7c4a1c1d6ebc6e2f61e685f652687f5 (diff)
Merge pull request #789 from agnosticdev/bt-typo
bt-typo: Extra word existed in comment and minor message fix-ups
Diffstat (limited to 'pcap-bt-linux.c')
-rw-r--r--pcap-bt-linux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcap-bt-linux.c b/pcap-bt-linux.c
index a0765b5b..c3041a91 100644
--- a/pcap-bt-linux.c
+++ b/pcap-bt-linux.c
@@ -81,7 +81,7 @@ bt_findalldevs(pcap_if_list_t *devlistp, char *err_str)
sock = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
if (sock < 0)
{
- /* if bluetooth is not supported this this is not fatal*/
+ /* if bluetooth is not supported this is not fatal*/
if (errno == EAFNOSUPPORT)
return 0;
pcap_fmt_errmsg_for_errno(err_str, PCAP_ERRBUF_SIZE,
@@ -380,8 +380,8 @@ bt_read_linux(pcap_t *handle, int max_packets _U_, pcap_handler callback, u_char
static int
bt_inject_linux(pcap_t *handle, const void *buf _U_, int size _U_)
{
- pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported on "
- "bluetooth devices");
+ pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Inject not supported on "
+ "Bluetooth devices");
return (-1);
}