diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-07-23 20:56:29 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-07-23 20:56:29 (GMT) |
commit | a8a9235844cf9311acc5411bb104d3e5c81090c2 (patch) | |
tree | 649e3c0acf86eb4b3985052f9b21d9ca2014425f /patches/uClibc/0.9.29/000-fix-mmap.patch | |
parent | a69e51dc7c4a4428cc035dd323e8b159580599e5 (diff) |
The latest uClibc-0.9.29 patch grabbed from buildroot is buggy wrt a type (__ulong_t does not exist, while __u_long does). Fix that.
Diffstat (limited to 'patches/uClibc/0.9.29/000-fix-mmap.patch')
-rw-r--r-- | patches/uClibc/0.9.29/000-fix-mmap.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/uClibc/0.9.29/000-fix-mmap.patch b/patches/uClibc/0.9.29/000-fix-mmap.patch index af38be3..4775e8c 100644 --- a/patches/uClibc/0.9.29/000-fix-mmap.patch +++ b/patches/uClibc/0.9.29/000-fix-mmap.patch @@ -84,7 +84,7 @@ + fd,((__u_quad_t)offset >> MMAP2_PAGE_SHIFT)); +#else + return __syscall_mmap2(addr, len, prot, flags, -+ fd,((__ulong_t)offset >> MMAP2_PAGE_SHIFT)); ++ fd,((__u_long)offset >> MMAP2_PAGE_SHIFT)); +#endif } |