From: sthen Date: Thu, 17 Jul 2008 08:14:24 +0000 (+0000) Subject: Pasto in error message for setspppkey() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3e24b9f87e20ac4420901941267e5f943803bc87;p=openbsd Pasto in error message for setspppkey() ok mbalmer@ --- 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)