about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mq/mq_timedreceive.c2
-rw-r--r--src/mq/mq_timedsend.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mq/mq_timedreceive.c b/src/mq/mq_timedreceive.c
index ad705f8b..099f213a 100644
--- a/src/mq/mq_timedreceive.c
+++ b/src/mq/mq_timedreceive.c
@@ -3,5 +3,5 @@
 
 ssize_t mq_timedreceive(mqd_t mqd, char *msg, size_t len, unsigned *prio, const struct timespec *at)
 {
-	return syscall(SYS_mq_timedreceive, mqd, msg, len, prio, at);
+	return syscall_cp(SYS_mq_timedreceive, mqd, msg, len, prio, at);
 }
diff --git a/src/mq/mq_timedsend.c b/src/mq/mq_timedsend.c
index edbaccf9..1c00aa0b 100644
--- a/src/mq/mq_timedsend.c
+++ b/src/mq/mq_timedsend.c
@@ -3,5 +3,5 @@
 
 int mq_timedsend(mqd_t mqd, const char *msg, size_t len, unsigned prio, const struct timespec *at)
 {
-	return syscall(SYS_mq_timedsend, mqd, msg, len, prio, at);
+	return syscall_cp(SYS_mq_timedsend, mqd, msg, len, prio, at);
 }