From 24650bad2d471bd47e6a3afe9a83ec5dc31f5d50 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Fri, 10 Feb 2012 18:39:55 -0300 Subject: [PATCH] dun: Fix using old-style initializers --- compat/dun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compat/dun.c b/compat/dun.c index de98830aa..3f3a0d417 100644 --- a/compat/dun.c +++ b/compat/dun.c @@ -191,8 +191,8 @@ static int dun_create_tty(int sk, char *tty, int size) int id, try = 30; struct rfcomm_dev_req req = { - flags: (1 << RFCOMM_REUSE_DLC) | (1 << RFCOMM_RELEASE_ONHUP), - dev_id: -1 + .flags = (1 << RFCOMM_REUSE_DLC) | (1 << RFCOMM_RELEASE_ONHUP), + .dev_id = -1 }; alen = sizeof(sa); -- 2.47.3