make rule for user header file install
[lunaix-os.git] / lunaix-os / usr / libc / src / posix / mount.c
index 930930ca91c8ea5df0a8c0dbc9fd60eaa405a0a9..a44a8791701947a094dd3ffc109539f4426bec65 100644 (file)
@@ -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