From e254b288597814cb09dd47ec4879b8d17ef8fea4 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 18 Jul 2022 23:09:44 +0000 Subject: [PATCH] use syntax which more acceptable to older compilers discussed with tb --- usr.sbin/bgpd/kroute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c index cad84079e07..4474df8a49b 100644 --- a/usr.sbin/bgpd/kroute.c +++ b/usr.sbin/bgpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.272 2022/07/14 12:56:37 claudio Exp $ */ +/* $OpenBSD: kroute.c,v 1.273 2022/07/18 23:09:44 deraadt Exp $ */ /* * Copyright (c) 2022 Claudio Jeker @@ -1224,7 +1224,7 @@ kr_show_route(struct imsg *imsg) static void kr_send_dependon(struct kif *kif) { - struct session_dependon sdon = { 0 }; + struct session_dependon sdon = { {0} }; strlcpy(sdon.ifname, kif->ifname, sizeof(sdon.ifname)); sdon.depend_state = kif->depend_state; -- 2.20.1