summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_clone.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_clone.c')
-rw-r--r--src/nxt_clone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_clone.c b/src/nxt_clone.c
index aa952a54..a9b39ac1 100644
--- a/src/nxt_clone.c
+++ b/src/nxt_clone.c
@@ -14,9 +14,9 @@ pid_t
nxt_clone(nxt_int_t flags)
{
#if defined(__s390x__) || defined(__s390__) || defined(__CRIS__)
- return syscall(__NR_clone, NULL, flags);
+ return syscall(SYS_clone, NULL, flags);
#else
- return syscall(__NR_clone, flags, NULL);
+ return syscall(SYS_clone, flags, NULL);
#endif
}