diff options
-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 288a5a8..19d57c6 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); |