diff options
author | Drew Stratford <drewstratford@outlook.com> | 2019-09-14 01:59:05 +1200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-13 16:30:22 +0200 |
commit | 45ded86bcb2cae48ea49b0312d82d4540a67405c (patch) | |
tree | b6076fa119f11116ab904f45a7f768841491a609 /Kernel/Syscall.h | |
parent | af6948afe004b03e5d919a3c0a0fefd08937b463 (diff) | |
download | serenity-45ded86bcb2cae48ea49b0312d82d4540a67405c.zip |
Kernel: Move fchdir to end of enumerate syscalls.
The introduction fchdir in the middle of the EUMERATE_SYSCALLS
expression changed other syscall numbers, which broke compatibility.
This commit fixes that by moving it to the end.
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r-- | Kernel/Syscall.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h index 363beb00e6..c8211f11eb 100644 --- a/Kernel/Syscall.h +++ b/Kernel/Syscall.h @@ -32,7 +32,6 @@ struct timeval; __ENUMERATE_SYSCALL(gettimeofday) \ __ENUMERATE_SYSCALL(gethostname) \ __ENUMERATE_SYSCALL(chdir) \ - __ENUMERATE_SYSCALL(fchdir) \ __ENUMERATE_SYSCALL(uname) \ __ENUMERATE_SYSCALL(set_mmap_name) \ __ENUMERATE_SYSCALL(readlink) \ @@ -130,7 +129,8 @@ struct timeval; __ENUMERATE_SYSCALL(set_process_icon) \ __ENUMERATE_SYSCALL(mprotect) \ __ENUMERATE_SYSCALL(realpath) \ - __ENUMERATE_SYSCALL(get_process_name) + __ENUMERATE_SYSCALL(get_process_name) \ + __ENUMERATE_SYSCALL(fchdir) namespace Syscall { |