diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-06 01:57:20 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-06 01:57:20 +0000 |
commit | 5d893b6beb2a42c6c3bc0fd0b5447bcfc8a0f84c (patch) | |
tree | 831432f8d67017cb73beade969a7761fa9fc75ca /ls.c | |
parent | 89bc256c9480a137a2286b5b16ff4207e35659e5 (diff) | |
download | busybox-w32-5d893b6beb2a42c6c3bc0fd0b5447bcfc8a0f84c.tar.gz busybox-w32-5d893b6beb2a42c6c3bc0fd0b5447bcfc8a0f84c.tar.bz2 busybox-w32-5d893b6beb2a42c6c3bc0fd0b5447bcfc8a0f84c.zip |
Remove MAXNAMLEN and use BUFSIZ instead.
-Erik
Diffstat (limited to '')
-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; |