find(1): use correct type for readlink
This commit is contained in:
parent
b422540a99
commit
9fe7e0020a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user