diff options
Diffstat (limited to 'src/stat.c')
-rw-r--r-- | src/stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stat.c b/src/stat.c index b8cbbf58f..57439a472 100644 --- a/src/stat.c +++ b/src/stat.c @@ -68,7 +68,7 @@ #include "quotearg.h" #include "stat-time.h" #include "strftime.h" -#include "xreadlink.h" +#include "mreadlink.h" #define alignof(type) offsetof (struct { char c; type x; }, x) @@ -524,7 +524,7 @@ print_stat (char *pformat, size_t prefix_len, char m, out_string (pformat, prefix_len, quote (filename)); if (S_ISLNK (statbuf->st_mode)) { - char *linkname = xreadlink_with_size (filename, statbuf->st_size); + char *linkname = mreadlink_with_size (filename, statbuf->st_size); if (linkname == NULL) { error (0, errno, _("cannot read symbolic link %s"), |