(print_stat): Update use of xreadlink.

This commit is contained in:
Jim Meyering committed 2004-06-01 13:36:40 +00:00
1 parent b99bf39b10
commit 5c00973123
1 file changed
+1 -1
+1 -1
View File
@@ -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"),