aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/bsdload.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-user/bsdload.c')
-rw-r--r--bsd-user/bsdload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/bsdload.c b/bsd-user/bsdload.c
index 05fd20acd1..14a93bf39b 100644
--- a/bsd-user/bsdload.c
+++ b/bsd-user/bsdload.c
@@ -163,7 +163,7 @@ int loader_exec(const char * filename, char ** argv, char ** envp,
bprm.p = TARGET_PAGE_SIZE*MAX_ARG_PAGES-sizeof(unsigned int);
for (i=0 ; i<MAX_ARG_PAGES ; i++) /* clear page-table */
- bprm.page[i] = 0;
+ bprm.page[i] = NULL;
retval = open(filename, O_RDONLY);
if (retval < 0)
return retval;