diff options
Diffstat (limited to 'c-bluetooth/scan.c')
| -rw-r--r-- | c-bluetooth/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c-bluetooth/scan.c b/c-bluetooth/scan.c index 17fe433..30cfe36 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"); } |
