util: call ::syscall for syscall()
authorRobert Swiecki <robert@swiecki.net>
Mon, 21 Jan 2019 21:42:34 +0000 (22:42 +0100)
committerRobert Swiecki <robert@swiecki.net>
Mon, 21 Jan 2019 21:42:34 +0000 (22:42 +0100)
util.cc

diff --git a/util.cc b/util.cc
index 9797049cfc5c361fb854caf4c0ed08a51f4df3a8..2fbe30cb27378d8ad24c27569e0fa70a09df212f 100644 (file)
--- a/util.cc
+++ b/util.cc
@@ -319,7 +319,7 @@ std::vector<std::string> strSplit(const std::string str, char delim) {
 
 long syscall(long sysno, uintptr_t a0, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4,
     uintptr_t a5) {
-       return syscall(sysno, a0, a1, a2, a3, a4, a5);
+       return ::syscall(sysno, a0, a1, a2, a3, a4, a5);
 }
 
 }  // namespace util