aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/skas/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/os-Linux/skas/process.c')
-rw-r--r--arch/um/os-Linux/skas/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/os-Linux/skas/process.c b/arch/um/os-Linux/skas/process.c
index 8e96c6dc6c90..47efe9087eee 100644
--- a/arch/um/os-Linux/skas/process.c
+++ b/arch/um/os-Linux/skas/process.c
@@ -28,7 +28,7 @@
28 28
29int is_skas_winch(int pid, int fd, void *data) 29int is_skas_winch(int pid, int fd, void *data)
30{ 30{
31 if (pid != os_getpgrp()) 31 if (pid != getpgrp())
32 return 0; 32 return 0;
33 33
34 register_winch_irq(-1, fd, -1, data, 0); 34 register_winch_irq(-1, fd, -1, data, 0);
@@ -233,7 +233,7 @@ static int userspace_tramp(void *stack)
233 "failed - errno = %d\n", errno); 233 "failed - errno = %d\n", errno);
234 } 234 }
235 235
236 os_stop_process(os_getpid()); 236 kill(os_getpid(), SIGSTOP);
237 return 0; 237 return 0;
238} 238}
239 239