commit | 7cba04f6dedcf888170496bf8f1857c4069d1131 | [log] [tgz] |
---|---|---|
author | Blue Swirl <blauwirbel@gmail.com> | Sat Aug 01 10:13:20 2009 +0000 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sat Aug 01 10:13:20 2009 +0000 |
tree | affaa99c83934efb6c95255ee6bf36973f5be860 | |
parent | 660f11be541813be5f09fbaf44d8e7c6d5a5bbfe [diff] [blame] |
More NULL pointer fixes Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/linux-user/linuxload.c b/linux-user/linuxload.c index 14c433e..4091bdc 100644 --- a/linux-user/linuxload.c +++ b/linux-user/linuxload.c
@@ -165,7 +165,7 @@ 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;