summaryrefslogtreecommitdiffstats
path: root/bin/ed/re.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ed/re.c')
-rw-r--r--bin/ed/re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ed/re.c b/bin/ed/re.c
index d81d0d7..523e2a4 100644
--- a/bin/ed/re.c
+++ b/bin/ed/re.c
@@ -40,7 +40,7 @@ static char * const rcsid =
extern int patlock;
-char errmsg[MAXPATHLEN + 40] = "";
+char errmsg[PATH_MAX + 40] = "";
/* get_compiled_pattern: return pointer to compiled pattern from command
buffer */
OpenPOWER on IntegriCloud