aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exec.c b/fs/exec.c
index cecee501ce78..7b5ed50eadeb 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -391,7 +391,7 @@ static int count(char __user * __user * argv, int max)
391 if (!p) 391 if (!p)
392 break; 392 break;
393 argv++; 393 argv++;
394 if(++i > max) 394 if (i++ >= max)
395 return -E2BIG; 395 return -E2BIG;
396 cond_resched(); 396 cond_resched();
397 } 397 }