git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make rule for user header file install
[lunaix-os.git]
/
lunaix-os
/
usr
/
libc
/
src
/
posix
/
mann.c
diff --git
a/lunaix-os/usr/libc/src/posix/mann.c
b/lunaix-os/usr/libc/src/posix/mann.c
index f2fe1865fe4246e82331b5f988cdf785a0549623..b7756fa2250a1e9a3159569a8783c30586c5c1e0 100644
(file)
--- a/
lunaix-os/usr/libc/src/posix/mann.c
+++ b/
lunaix-os/usr/libc/src/posix/mann.c
@@
-1,4
+1,4
@@
-#include <
lunaix/
syscall.h>
+#include <syscall.h>
#include <lunaix/mann.h>
#include <lunaix/types.h>
#include <lunaix/mann.h>
#include <lunaix/types.h>
@@
-14,11
+14,11
@@
mmap(void* addr, size_t length, int proct, int flags, int fd, off_t offset)
.offset = offset
};
.offset = offset
};
- return (void*)do_lunaix_syscall(__
SYSCALL
_sys_mmap, &mparam);
+ return (void*)do_lunaix_syscall(__
NR__lxsys
_sys_mmap, &mparam);
}
int
munmap(void* addr, size_t length)
{
}
int
munmap(void* addr, size_t length)
{
- return do_lunaix_syscall(__
SYSCALL
_munmap, addr, length);
+ return do_lunaix_syscall(__
NR__lxsys
_munmap, addr, length);
}
}