From: deraadt Date: Mon, 18 Jul 2022 23:09:44 +0000 (+0000) Subject: use syntax which more acceptable to older compilers X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e254b288597814cb09dd47ec4879b8d17ef8fea4;p=openbsd use syntax which more acceptable to older compilers discussed with tb --- 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;