Module Name: src
Committed By: eadler
Date: Tue Mar 6 03:33:26 UTC 2018
Modified Files:
src/usr.bin/tail: tail.c
Log Message:
[tail] Fix type of 'len'
ok pgoyette
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/tail/tail.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/tail/tail.c
diff -u src/usr.bin/tail/tail.c:1.19 src/usr.bin/tail/tail.c:1.20
--- src/usr.bin/tail/tail.c:1.19 Mon Oct 2 08:23:23 2017
+++ src/usr.bin/tail/tail.c Tue Mar 6 03:33:26 2018
@@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 19
#if 0
static char sccsid[] = "@(#)tail.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: tail.c,v 1.19 2017/10/02 08:23:23 wiz Exp $");
+__RCSID("$NetBSD: tail.c,v 1.20 2018/03/06 03:33:26 eadler Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -235,7 +235,7 @@ static void
obsolete(char *argv[])
{
char *ap, *p, *t;
- int len;
+ size_t len;
char *start;
while ((ap = *++argv) != NULL) {