summaryrefslogtreecommitdiffstats
path: root/tools/hcitool.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hcitool.c')
-rw-r--r--tools/hcitool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hcitool.c b/tools/hcitool.c
index 04d756eb..a8f79f6d 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
@@ -282,7 +282,7 @@ static void cmd_scan(int dev_id, int argc, char **argv)
if (dev_id < 0) {
dev_id = hci_get_route(&bdaddr);
if (dev_id < 0) {
- perror("Device is not available.");
+ perror("Device is not available");
exit(1);
}
}
@@ -290,7 +290,7 @@ static void cmd_scan(int dev_id, int argc, char **argv)
printf("Scanning ...\n");
num_rsp = hci_inquiry(dev_id, length, num_rsp, NULL, &info, flags);
if (num_rsp < 0) {
- perror("Inquiry failed.");
+ perror("Inquiry failed");
exit(1);
}