Fix an easy WARNS.

This commit is contained in:
Mark Murray 2002-07-31 16:53:59 +00:00
parent 13fcef50d0
commit f193e3fc68
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101094

View File

@ -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);