diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | } |