From d382c767872fc3a0ccd7f6945f1b922a4ac08c02 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 20 Feb 2019 04:02:19 +0000 Subject: avoid abbreviation "AF" when "address family" fits on the line; noted by Alfred Morgan --- sbin/ifconfig/ifconfig.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sbin') diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 42abeb2ddbe..640b2aac601 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.392 2019/02/19 08:12:30 stsp Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.393 2019/02/20 04:02:18 deraadt Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -1462,7 +1462,7 @@ setia6lifetime(const char *cmd, const char *val) t = time(NULL); if (afp->af_af != AF_INET6) - errx(1, "%s not allowed for the AF", cmd); + errx(1, "%s not allowed for the address family", cmd); if (strcmp(cmd, "vltime") == 0) { in6_addreq.ifra_lifetime.ia6t_expire = t + newval; in6_addreq.ifra_lifetime.ia6t_vltime = newval; @@ -1481,7 +1481,7 @@ setia6eui64(const char *cmd, int val) struct in6_addr *in6; if (afp->af_af != AF_INET6) - errx(1, "%s not allowed for the AF", cmd); + errx(1, "%s not allowed for the address family", cmd); addaf(name, AF_INET6); @@ -1516,7 +1516,7 @@ setautoconf(const char *cmd, int val) setifxflags("inet6", val * IFXF_AUTOCONF6); break; default: - errx(1, "autoconf not allowed for this AF"); + errx(1, "autoconf not allowed for this address family"); } } -- cgit v1.2.3