

fs/compat.c: In function `compat_do_execve':
fs/compat.c:1402: request for member `argc' in something not a structure or union
fs/compat.c:1406: request for member `envc' in something not a structure or union


Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-power4-akpm/fs/compat.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN fs/compat.c~reduce-_do_execve-stack-usage-fix fs/compat.c
--- 25-power4/fs/compat.c~reduce-_do_execve-stack-usage-fix	2004-09-15 22:51:08.578693984 -0700
+++ 25-power4-akpm/fs/compat.c	2004-09-15 22:51:15.235681968 -0700
@@ -1399,11 +1399,11 @@ int compat_do_execve(char * filename,
 	if (retval < 0)
 		goto out_mm;
 
-	bprm.argc = compat_count(argv, bprm->p / sizeof(compat_uptr_t));
+	bprm->argc = compat_count(argv, bprm->p / sizeof(compat_uptr_t));
 	if ((retval = bprm->argc) < 0)
 		goto out_mm;
 
-	bprm.envc = compat_count(envp, bprm->p / sizeof(compat_uptr_t));
+	bprm->envc = compat_count(envp, bprm->p / sizeof(compat_uptr_t));
 	if ((retval = bprm->envc) < 0)
 		goto out_mm;
 
_
