diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-12-21 03:02:06 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-12-21 03:02:06 +0100 |
commit | 3a0a8848fb550f33f4946950e0ad70dce49e4c4f (patch) | |
tree | f9ac36442ab0ebebc50b10f83fe6a814d18038d6 /LibC/utime.cpp | |
parent | 36bd53b36a7846a5aade225436cd1a09da0af7fc (diff) | |
download | serenity-3a0a8848fb550f33f4946950e0ad70dce49e4c4f.zip |
Make syscall invocations look pleasant.
Old: Syscall::invoke(Syscall::SC_foo, (dword)arg1, (dword)arg2)
New: syscall(SC_foo, arg1, arg2)
Diffstat (limited to 'LibC/utime.cpp')
-rw-r--r-- | LibC/utime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibC/utime.cpp b/LibC/utime.cpp index 310d06c32a..737d958e49 100644 --- a/LibC/utime.cpp +++ b/LibC/utime.cpp @@ -6,7 +6,7 @@ extern "C" { int utime(const char* pathname, const struct utimbuf* buf) { - int rc = Syscall::invoke(Syscall::SC_utime, (dword)pathname, (dword)buf); + int rc = syscall(SC_utime, (dword)pathname, (dword)buf); __RETURN_WITH_ERRNO(rc, rc, -1); } |