diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2012-02-10 18:39:49 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-14 14:28:58 +0200 |
commit | 42dc0063e496408b9bd9973fa4dda868af267bc1 (patch) | |
tree | a4e8cfa1c58cc33d27d9d9d1db1c30be73d42e52 /tools/hcitool.c | |
parent | f7a79ac1fc2bddf73713832ea7f63259ce44b9b3 (diff) | |
download | bluez-42dc0063e496408b9bd9973fa4dda868af267bc1.tar.gz |
tools: Fix using old-style initializers
Diffstat (limited to 'tools/hcitool.c')
-rw-r--r-- | tools/hcitool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hcitool.c b/tools/hcitool.c index 5189d8d1c..66e5c2072 100644 --- a/tools/hcitool.c +++ b/tools/hcitool.c @@ -74,7 +74,7 @@ static void usage(void); static int dev_info(int s, int dev_id, long arg) { - struct hci_dev_info di = { dev_id: dev_id }; + struct hci_dev_info di = { .dev_id = dev_id }; char addr[18]; if (ioctl(s, HCIGETDEVINFO, (void *) &di)) |