From 3e24b9f87e20ac4420901941267e5f943803bc87 Mon Sep 17 00:00:00 2001 From: sthen Date: Thu, 17 Jul 2008 08:14:24 +0000 Subject: [PATCH] Pasto in error message for setspppkey() ok mbalmer@ --- 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 ab6cee94f5a..d50fd369018 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.201 2008/06/26 05:42:06 ray Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.202 2008/07/17 08:14:24 sthen Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -3841,7 +3841,7 @@ setspppkey(const char *val, int d) if (auth->proto == 0) errx(1, "unspecified protocol"); if (strlcpy((char *)auth->secret, val, AUTHKEYLEN) >= AUTHKEYLEN) - errx(1, "setspppname"); + errx(1, "setspppkey"); spr.cmd = (int)SPPPIOSDEFS; if (ioctl(s, SIOCSIFGENERIC, &ifr) == -1) -- 2.20.1