author: Jeff Dike <jdike@addtoit.com> 2007-10-16 01:27:11 -0700
committer: Linus Torvalds <torvalds@woody.linux-foundation.org> 2007-10-16 09:43:06 -0700
commit: 512b6fb1c14d4c34f23a3419b0789ad01914a899
parent: b21d4b08b6686fa13bf9d4cae1ae08cb23ea3d53
Commit Summary:
Diffstat:
1 file 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 @@
int is_skas_winch(int pid, int fd, void *data)
{
- if (pid != os_getpgrp())
+ if (pid != getpgrp())
return 0;
register_winch_irq(-1, fd, -1, data, 0);
@@ -233,7 +233,7 @@ static int userspace_tramp(void *stack)
"failed - errno = %d\n", errno);
}
- os_stop_process(os_getpid());
+ kill(os_getpid(), SIGSTOP);
return 0;
}