aboutsummaryrefslogtreecommitdiff
path: root/sbin/routed/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/routed/trace.c')
-rw-r--r--sbin/routed/trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/routed/trace.c b/sbin/routed/trace.c
index ba1d31f926cf..5b258df0d8d3 100644
--- a/sbin/routed/trace.c
+++ b/sbin/routed/trace.c
@@ -58,8 +58,8 @@ __RCSID("$NetBSD$");
int tracelevel, new_tracelevel;
FILE *ftrace; /* output trace file */
static const char *sigtrace_pat = "%s";
-static char savetracename[MAXPATHLEN+1];
-char inittracename[MAXPATHLEN+1];
+static char savetracename[PATH_MAX];
+char inittracename[PATH_MAX];
int file_trace; /* 1=tracing to file, not stdout */
static void trace_dump(void);