summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Crane <steve.crane@rococosoft.com>2003-06-18 09:52:01 +0000
committerStephen Crane <steve.crane@rococosoft.com>2003-06-18 09:52:01 +0000
commite7490562668965f3433aa4270b88ce55bfa9e1e3 (patch)
tree8a220d8e6ac030f146eceae0e114339e3be7b63d
parent1181a51f587089189aeb8df20567ed45f350d88e (diff)
...
-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);
}