about summary refs log tree commit diff
path: root/src/unistd/getpgrp.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-21 21:52:41 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-21 21:52:41 -0400
commitd878dceccaff9931160250496c6cc87a8fe45811 (patch)
treef0368f898914797f72c2ec2f8de336445813028a /src/unistd/getpgrp.c
parent31f014e0a751d2bb9d40a09fe2cd1a8b0111acf6 (diff)
downloadmusl-d878dceccaff9931160250496c6cc87a8fe45811.tar.gz
musl-d878dceccaff9931160250496c6cc87a8fe45811.tar.xz
musl-d878dceccaff9931160250496c6cc87a8fe45811.zip
omit errno update path for syscalls that cannot fail
Diffstat (limited to 'src/unistd/getpgrp.c')
-rw-r--r--src/unistd/getpgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/getpgrp.c b/src/unistd/getpgrp.c
index 02449da9..433f42e8 100644
--- a/src/unistd/getpgrp.c
+++ b/src/unistd/getpgrp.c
@@ -3,5 +3,5 @@
 
 pid_t getpgrp(void)
 {
-	return syscall(SYS_getpgrp);
+	return __syscall(SYS_getpgrp);
 }