From 5c0097312366318092764ff69c3670a71e48ea0c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 1 Jun 2004 13:36:40 +0000 Subject: [PATCH] (print_stat): Update use of xreadlink. --- src/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stat.c b/src/stat.c index cf2dd0fbec..c4593fee38 100644 --- a/src/stat.c +++ b/src/stat.c @@ -433,7 +433,7 @@ print_stat (char *pformat, char m, char const *filename, void const *data) strcat (pformat, "s"); if (S_ISLNK (statbuf->st_mode)) { - char *linkname = xreadlink (filename); + char *linkname = xreadlink (filename, statbuf->st_size); if (linkname == NULL) { error (0, errno, _("cannot read symbolic link %s"), -- 2.47.3