From a1dca4f05e3c858f2934076f68e2d252ba41d195 Mon Sep 17 00:00:00 2001 From: kn Date: Tue, 2 Nov 2021 23:39:27 +0000 Subject: [PATCH] fix previous --- sbin/ifconfig/ifconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 53177a173a6..184f0d30b20 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.446 2021/11/02 23:36:43 kn Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.447 2021/11/02 23:39:27 kn Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -2033,7 +2033,7 @@ setifnwkey(const char *val, int d) } if (ioctl(sock, SIOCS80211NWKEY, (caddr_t)&nwkey) == -1) - err("SIOCS80211NWKEY"); + err(1, "SIOCS80211NWKEY"); } /* ARGSUSED */ -- 2.20.1