find(1): use correct type for readlink

This commit is contained in:
Eitan Adler 2018-07-01 20:09:56 +00:00
parent b422540a99
commit 9fe7e0020a

View File

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