diff options
author | Jim Meyering <jim@meyering.net> | 2001-09-04 20:23:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-09-04 20:23:48 +0000 |
commit | 87261b73b3b5fe672d9ea24713e919435a343cd2 (patch) | |
tree | c32024c94764dcf1d4ee9130bfc79d3290c9e003 /src | |
parent | 121f936e4f72c55bf54f2877ee3fcf01e78a058d (diff) | |
download | coreutils-87261b73b3b5fe672d9ea24713e919435a343cd2.tar.xz |
(get_link_name): Update use of xreadlink.
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2138,9 +2138,7 @@ gobble_file (const char *name, enum filetype type, int explicit_arg, static void get_link_name (const char *filename, struct fileinfo *f) { - size_t link_val_len; - - f->linkname = xreadlink (filename, &link_val_len); + f->linkname = xreadlink (filename); if (f->linkname == NULL) { error (0, errno, _("cannot read symbolic link %s"), |