projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xen-blkfront: switch from llist to list
[linux-2.6-microblaze.git]
/
fs
/
exec.c
diff --git
a/fs/exec.c
b/fs/exec.c
index
18c45ca
..
20df02c
100644
(file)
--- a/
fs/exec.c
+++ b/
fs/exec.c
@@
-434,8
+434,9
@@
static int count(struct user_arg_ptr argv, int max)
if (IS_ERR(p))
return -EFAULT;
- if (i
++
>= max)
+ if (i >= max)
return -E2BIG;
+ ++i;
if (fatal_signal_pending(current))
return -ERESTARTNOHAND;