summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/find/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/find/ls.c b/usr.bin/find/ls.c
index 2335111..df88170 100644
--- a/usr.bin/find/ls.c
+++ b/usr.bin/find/ls.c
@@ -110,7 +110,7 @@ printlink(name)
char *name;
{
int lnklen;
- char path[MAXPATHLEN + 1];
+ char path[MAXPATHLEN];
if ((lnklen = readlink(name, path, MAXPATHLEN - 1)) == -1) {
warn("%s", name);
OpenPOWER on IntegriCloud