[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I really do not see any use case to increment users choice.

Signed-off-by: Toralf Förster <toralf.foerster@xxxxxx>
---
 params.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/params.c b/params.c
index fe70ff3..5db33bd 100644
--- a/params.c
+++ b/params.c
@@ -254,7 +254,7 @@ void parse_args(int argc, char *argv[])
 
 		/* Set number of syscalls to do */
 		case 'N':
-			syscalls_todo = strtoll(optarg, NULL, 10) + 1;
+			syscalls_todo = strtoll(optarg, NULL, 10);
 			break;
 
 		/* Pause after each syscall */
-- 
1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux