diff options
Diffstat (limited to 'src/ls.c')
-rw-r--r-- | src/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2641,7 +2641,7 @@ gobble_file (const char *name, enum filetype type, int explicit_arg, static void get_link_name (const char *filename, struct fileinfo *f) { - f->linkname = xreadlink (filename); + f->linkname = xreadlink (filename, f->stat.st_size); if (f->linkname == NULL) { error (0, errno, _("cannot read symbolic link %s"), |