mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(print_stat): Update use of xreadlink.
This commit is contained in:
1 parent
b99bf39b10
commit
5c00973123
1 file changed
+1
-1
+1
-1
@@ -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"),
|
||||
|
||||
Reference in new issue
Block a user