diff options
author | Jim Meyering <jim@meyering.net> | 1993-08-26 04:38:30 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-08-26 04:38:30 +0000 |
commit | 429043125e1842b92f1cdbc6c0a2772316c9d34e (patch) | |
tree | a63cf2e0550e8c034c83e0703eab1dd82ffb9184 /src/ls.c | |
parent | 410da16d0250bcf31c51a160de9eccb92667c7fe (diff) | |
download | coreutils-429043125e1842b92f1cdbc6c0a2772316c9d34e.tar.xz |
merge with 3.8.2
Diffstat (limited to 'src/ls.c')
-rw-r--r-- | src/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1081,7 +1081,7 @@ get_link_name (filename, f) /* Some automounters give incorrect st_size for mount points. I can't think of a good workaround for it, though. */ - linksize = readlink (filename, linkbuf, sizeof (linkbuf)); + linksize = readlink (filename, linkbuf, sizeof (linkbuf) - 1); if (linksize < 0) { error (0, errno, "%s", filename); |