diff options
Diffstat (limited to 'ls.c')
-rw-r--r-- | ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -345,7 +345,7 @@ static int list_item(const char *name) | |||
345 | struct stat info; | 345 | struct stat info; |
346 | DIR *dir; | 346 | DIR *dir; |
347 | struct dirent *entry; | 347 | struct dirent *entry; |
348 | char fullname[MAXNAMLEN + 1], *fnend; | 348 | char fullname[BUFSIZ + 1], *fnend; |
349 | 349 | ||
350 | if (lstat(name, &info)) | 350 | if (lstat(name, &info)) |
351 | goto listerr; | 351 | goto listerr; |