summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bluetooth/hcsecd/hcsecd.c
diff options
context:
space:
mode:
authoremax <emax@FreeBSD.org>2006-09-21 02:32:28 +0000
committeremax <emax@FreeBSD.org>2006-09-21 02:32:28 +0000
commitaed4a149cb345826733fc9f1030206fdbc6301c9 (patch)
treee36480f79cd390fcaaf8eef8470d4b8fe9f38767 /usr.sbin/bluetooth/hcsecd/hcsecd.c
parentbd9e529aec2265093d4c149ba012f9199b5ff4b7 (diff)
downloadFreeBSD-src-aed4a149cb345826733fc9f1030206fdbc6301c9.zip
FreeBSD-src-aed4a149cb345826733fc9f1030206fdbc6301c9.tar.gz
Use socklen_t instead of int32_t where appropriate to pacify new GCC4
warnings. Submitted by: kan MFC after: 1 week
Diffstat (limited to 'usr.sbin/bluetooth/hcsecd/hcsecd.c')
-rw-r--r--usr.sbin/bluetooth/hcsecd/hcsecd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bluetooth/hcsecd/hcsecd.c b/usr.sbin/bluetooth/hcsecd/hcsecd.c
index a1b72a3..d83e04b 100644
--- a/usr.sbin/bluetooth/hcsecd/hcsecd.c
+++ b/usr.sbin/bluetooth/hcsecd/hcsecd.c
@@ -65,7 +65,8 @@ static void usage
int
main(int argc, char *argv[])
{
- int n, detach, sock, size;
+ int n, detach, sock;
+ socklen_t size;
struct sigaction sa;
struct sockaddr_hci addr;
struct ng_btsocket_hci_raw_filter filter;
OpenPOWER on IntegriCloud