summaryrefslogtreecommitdiff
path: root/c-bluetooth/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'c-bluetooth/scan.c')
-rw-r--r--c-bluetooth/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c-bluetooth/scan.c b/c-bluetooth/scan.c
index 30cfe36..17fe433 100644
--- a/c-bluetooth/scan.c
+++ b/c-bluetooth/scan.c
@@ -27,7 +27,7 @@ int main(int argc, char **argv) {
ii = (inquiry_info*)malloc(max_rsp * sizeof(inquiry_info));
num_rsp = hci_inquiry(dev_id, len, max_rsp, NULL, &ii, flags);
- if(num_rsp < 0) {
+ if( num_rsp < 0 ) {
perror("hci_inquiry");
}