Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2017 12:16:50 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325319 - head/tools/tools/syscall_timing
Message-ID:  <201711021216.vA2CGori026139@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Thu Nov  2 12:16:50 2017
New Revision: 325319
URL: https://svnweb.freebsd.org/changeset/base/325319

Log:
  Remove artificial limit for -i.
  
  Obtained from:	CheriBSD
  MFC after:	2 weeks
  Sponsored by:	DARPA, AFRL

Modified:
  head/tools/tools/syscall_timing/syscall_timing.c

Modified: head/tools/tools/syscall_timing/syscall_timing.c
==============================================================================
--- head/tools/tools/syscall_timing/syscall_timing.c	Thu Nov  2 12:16:11 2017	(r325318)
+++ head/tools/tools/syscall_timing/syscall_timing.c	Thu Nov  2 12:16:50 2017	(r325319)
@@ -808,7 +808,7 @@ main(int argc, char *argv[])
 		switch (ch) {
 		case 'i':
 			ll = strtol(optarg, &endp, 10);
-			if (*endp != 0 || ll < 1 || ll > 100000)
+			if (*endp != 0 || ll < 1)
 				usage();
 			iterations = ll;
 			break;



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