summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2016-08-12 12:21:00 -0400
committerGedare Bloom <gedare@rtems.org>2017-01-13 11:05:56 -0500
commit2b442a8e17fa505a57775f1a18010a6dc70cbd12 (patch)
tree5bc6e4819d19f4eccb4b7aa08df599e4d5dfc657 /cpukit
parent1ca8ee137e9e7dc815e55cc06ebd2c2c4e2191be (diff)
downloadrtems-2b442a8e17fa505a57775f1a18010a6dc70cbd12.tar.bz2
posix: fix typo in mmap arguments
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/posix/src/mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/mmap.c b/cpukit/posix/src/mmap.c
index 1453ee0ba9..2144d91cae 100644
--- a/cpukit/posix/src/mmap.c
+++ b/cpukit/posix/src/mmap.c
@@ -19,7 +19,7 @@
void *mmap(
void *addr,
- size_t lenhth,
+ size_t length,
int prot,
int flags,
int fildes,
@@ -27,7 +27,7 @@ void *mmap(
)
{
(void) addr;
- (void) lenhth;
+ (void) length;
(void) prot;
(void) flags;
(void) fildes;