Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2018 20:09:57 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335852 - head/usr.bin/find
Message-ID:  <201807012009.w61K9vQd087440@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sun Jul  1 20:09:56 2018
New Revision: 335852
URL: https://svnweb.freebsd.org/changeset/base/335852

Log:
  find(1): use correct type for readlink

Modified:
  head/usr.bin/find/ls.c

Modified: head/usr.bin/find/ls.c
==============================================================================
--- head/usr.bin/find/ls.c	Sun Jul  1 20:09:52 2018	(r335851)
+++ head/usr.bin/find/ls.c	Sun Jul  1 20:09:56 2018	(r335852)
@@ -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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807012009.w61K9vQd087440>