[rtems commit] posix: fix typo in mmap arguments
Gedare Bloom
gedare at rtems.org
Fri Jan 13 17:40:02 UTC 2017
Module: rtems
Branch: master
Commit: 2b442a8e17fa505a57775f1a18010a6dc70cbd12
Changeset: http://git.rtems.org/rtems/commit/?id=2b442a8e17fa505a57775f1a18010a6dc70cbd12
Author: Gedare Bloom <gedare at rtems.org>
Date: Fri Aug 12 12:21:00 2016 -0400
posix: fix typo in mmap arguments
---
cpukit/posix/src/mmap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpukit/posix/src/mmap.c b/cpukit/posix/src/mmap.c
index 1453ee0..2144d91 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;
More information about the vc
mailing list