aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 8b9422ec6..75fa65421 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -345,7 +345,7 @@ static int list_item(const char *name)
struct stat info;
DIR *dir;
struct dirent *entry;
- char fullname[MAXNAMLEN + 1], *fnend;
+ char fullname[BUFSIZ + 1], *fnend;
if (lstat(name, &info))
goto listerr;