diff --git a/usr.bin/find/ls.c b/usr.bin/find/ls.c index 28e85b733bac..8c4c16ed3461 100644 --- a/usr.bin/find/ls.c +++ b/usr.bin/find/ls.c @@ -110,7 +110,7 @@ printtime(time_t ftime) static void printlink(char *name) { - int lnklen; + ssize_t lnklen; char path[MAXPATHLEN]; if ((lnklen = readlink(name, path, MAXPATHLEN - 1)) == -1) {