summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-01-07 02:58:28 -0500
committerRich Felker <dalias@aerifal.cx>2014-01-07 02:58:28 -0500
commit74998fbec13cb2d1c6a0952141b90f4216ab89e6 (patch)
treec96ad98a0535e8694535573623a3f31ed1837433 /include
parent3500555db382e25b13c0832e5af13b6796cfca43 (diff)
downloadmusl-74998fbec13cb2d1c6a0952141b90f4216ab89e6.tar.gz
fix signedness of pgoff argument to remap_file_pages
both the kernel and glibc agree that this argument is unsigned; the incorrect type ssize_t came from erroneous man pages.
Diffstat (limited to 'include')
-rw-r--r--include/sys/mman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h
index 9a1e60ff..a34448a6 100644
--- a/include/sys/mman.h
+++ b/include/sys/mman.h
@@ -33,7 +33,7 @@ int munlockall (void);
#ifdef _GNU_SOURCE
void *mremap (void *, size_t, size_t, int, ...);
-int remap_file_pages (void *, size_t, int, ssize_t, int);
+int remap_file_pages (void *, size_t, int, size_t, int);
#endif
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)