diff options
| author | 2011-04-05 15:36:09 +0000 | |
|---|---|---|
| committer | 2011-04-05 15:36:09 +0000 | |
| commit | ec1b9a1dd560b9150e12c9988a3e22f38f608a96 (patch) | |
| tree | 3a4b33869c0fb70a8173e36296642a693d6f9505 /sys/compat/linux/linux_dummy.c | |
| parent | Fix logic bug in debug code and enable spllower()/splraise(). (diff) | |
| download | wireguard-openbsd-ec1b9a1dd560b9150e12c9988a3e22f38f608a96.tar.xz wireguard-openbsd-ec1b9a1dd560b9150e12c9988a3e22f38f608a96.zip | |
Fix PID fetching -- noticed last night by guenther@.
Diffstat (limited to 'sys/compat/linux/linux_dummy.c')
| -rw-r--r-- | sys/compat/linux/linux_dummy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_dummy.c b/sys/compat/linux/linux_dummy.c index 64b0ca3b9a7..65bdf45571b 100644 --- a/sys/compat/linux/linux_dummy.c +++ b/sys/compat/linux/linux_dummy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_dummy.c,v 1.16 2004/10/27 13:23:38 niklas Exp $ */ +/* $OpenBSD: linux_dummy.c,v 1.17 2011/04/05 15:36:09 pirofti Exp $ */ /*- * Copyright (c) 1994-1995 Søren Schmidt @@ -52,7 +52,7 @@ static int unsupported_msg(struct proc *p, const char *fname) { printf("linux: syscall %s is obsolete or not implemented (pid=%ld)\n", - fname, (long)p->p_pid); + fname, (long)p->p_p->ps_pid); return (ENOSYS); } |
