summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-12-30 20:02:50 +0000
committerbrian <brian@FreeBSD.org>1997-12-30 20:02:50 +0000
commit3e41ec11fbc71821f1aaf86205f761eec36ca70e (patch)
tree1f3f3d1a1a9018203c04dd936967ff9f46e1f280 /usr.sbin/ppp/defs.c
parent810009c3fe85889a44b528225b1aab204e26e324 (diff)
downloadFreeBSD-src-3e41ec11fbc71821f1aaf86205f761eec36ca70e.zip
FreeBSD-src-3e41ec11fbc71821f1aaf86205f761eec36ca70e.tar.gz
Typo in error message.
Diffstat (limited to 'usr.sbin/ppp/defs.c')
-rw-r--r--usr.sbin/ppp/defs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c
index 7ef92c3..979daa7 100644
--- a/usr.sbin/ppp/defs.c
+++ b/usr.sbin/ppp/defs.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: defs.c,v 1.8 1997/12/24 09:28:56 brian Exp $
+ * $Id: defs.c,v 1.9 1997/12/27 13:45:47 brian Exp $
*/
#include <sys/param.h>
@@ -89,7 +89,7 @@ GetShortHost()
char *p;
if (gethostname(VarShortHost, sizeof VarShortHost)) {
- LogPrintf(LogERROR, "GetShortHost: gethostbyname: %s\n", strerror(errno));
+ LogPrintf(LogERROR, "GetShortHost: gethostname: %s\n", strerror(errno));
return 0;
}
OpenPOWER on IntegriCloud