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
Framework for exporting system header to user space (#59)
[lunaix-os.git]
/
lunaix-os
/
usr
/
libc
/
src
/
posix
/
mount.c
diff --git
a/lunaix-os/usr/libc/src/posix/mount.c
b/lunaix-os/usr/libc/src/posix/mount.c
index 930930ca91c8ea5df0a8c0dbc9fd60eaa405a0a9..a44a8791701947a094dd3ffc109539f4426bec65 100644
(file)
--- a/
lunaix-os/usr/libc/src/posix/mount.c
+++ b/
lunaix-os/usr/libc/src/posix/mount.c
@@
-1,14
+1,14
@@
-#include <
lunaix/
syscall.h>
+#include <syscall.h>
int
mount(const char* source, const char* target,
const char* fstype, int options)
{
int
mount(const char* source, const char* target,
const char* fstype, int options)
{
- return do_lunaix_syscall(__
SYSCALL
_mount, source, target, fstype, options);
+ return do_lunaix_syscall(__
NR__lxsys
_mount, source, target, fstype, options);
}
int
unmount(const char* target)
{
}
int
unmount(const char* target)
{
- return do_lunaix_syscall(__
SYSCALL
_unmount, target);
+ return do_lunaix_syscall(__
NR__lxsys
_unmount, target);
}
\ No newline at end of file
}
\ No newline at end of file