summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1994-12-20 18:33:12 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1994-12-20 18:33:12 +0000
commit0506827c3527d118a8897b1914ae8add38d924d3 (patch)
tree9cdbc09ceb402f861955389232cdd39b9db413e3
parent1082f129bdbe7cb0ed4eae3dcbfd157c555e1f88 (diff)
(__setpgrp): Use swtch_pri instead of swtch.
-rw-r--r--sysdeps/mach/hurd/setpgid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/setpgid.c b/sysdeps/mach/hurd/setpgid.c
index 7b0e47ae23..9db3db8d77 100644
--- a/sysdeps/mach/hurd/setpgid.c
+++ b/sysdeps/mach/hurd/setpgid.c
@@ -45,7 +45,7 @@ DEFUN(__setpgrp, (pid, pgid), pid_t pid AND pid_t pgid)
/* XXX we have no need for a mutex, but cthreads demands one. */
__condition_wait (&_hurd_pids_changed_sync, NULL);
#else
- swtch();
+ swtch_pri(0);
#endif
}