diff options
| author | Mark Murray <markm@FreeBSD.org> | 2002-07-31 16:53:59 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2002-07-31 16:53:59 +0000 |
| commit | f193e3fc68ed5a300be2305f919fcc52d615686b (patch) | |
| tree | 0dd24b4c47b94a03b79bc93b20e989159fc686c3 /bin/ln | |
| parent | 13fcef50d0267d45de273fd60d9d7927bac70240 (diff) | |
Notes
Diffstat (limited to 'bin/ln')
| -rw-r--r-- | bin/ln/ln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ln/ln.c b/bin/ln/ln.c index 288a5a86d322..19d57c6626f7 100644 --- a/bin/ln/ln.c +++ b/bin/ln/ln.c @@ -190,7 +190,7 @@ linkit(const char *target, const char *source, int isdir) else ++p; if (snprintf(path, sizeof(path), "%s/%s", source, p) >= - sizeof(path)) { + (ssize_t)sizeof(path)) { errno = ENAMETOOLONG; warn("%s", target); return (1); |
