From a72d26d29cb1278f2fd5a3b1587a78ed3e88a505 Mon Sep 17 00:00:00 2001 From: guenther Date: Sun, 20 Jul 2014 07:34:43 +0000 Subject: [PATCH] Don't depend on for MAXPATHLEN --- usr.bin/telnet/utilities.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.bin/telnet/utilities.c b/usr.bin/telnet/utilities.c index f04a21e70c0..3f1757f960c 100644 --- a/usr.bin/telnet/utilities.c +++ b/usr.bin/telnet/utilities.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utilities.c,v 1.14 2014/07/20 06:39:41 guenther Exp $ */ +/* $OpenBSD: utilities.c,v 1.15 2014/07/20 07:34:43 guenther Exp $ */ /* $NetBSD: utilities.c,v 1.5 1996/02/28 21:04:21 thorpej Exp $ */ /* @@ -38,6 +38,7 @@ #include "telnet_locl.h" #include +#include #include FILE *NetTrace = 0; /* Not in bss, since needs to stay */ @@ -62,7 +63,7 @@ upcase(char *argument) * The following are routines used to print out debugging information. */ -unsigned char NetTraceFile[MAXPATHLEN] = "(standard output)"; +unsigned char NetTraceFile[PATH_MAX] = "(standard output)"; void SetNetTrace(file) -- 2.20.1