summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-11-06 20:10:54 +0000
committerjhb <jhb@FreeBSD.org>2015-11-06 20:10:54 +0000
commit1df83ba3d3bc30d9297c344788b7ce3dbe3eb69b (patch)
tree6ad577e1d59c96a77653f24611624d408b4fa860 /sys
parent9b5302b2d60d82c538839a91d86212a234dc43d4 (diff)
downloadFreeBSD-src-1df83ba3d3bc30d9297c344788b7ce3dbe3eb69b.zip
FreeBSD-src-1df83ba3d3bc30d9297c344788b7ce3dbe3eb69b.tar.gz
MFC 289636:
Switch pl_child_pid from int to pid_t.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/sys_process.c2
-rw-r--r--sys/sys/ptrace.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index db5f13a..bbfe321 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -95,7 +95,7 @@ struct ptrace_lwpinfo32 {
sigset_t pl_siglist; /* LWP pending signal */
struct siginfo32 pl_siginfo; /* siginfo for signal */
char pl_tdname[MAXCOMLEN + 1]; /* LWP name. */
- int pl_child_pid; /* New child pid */
+ pid_t pl_child_pid; /* New child pid */
u_int pl_syscall_code;
u_int pl_syscall_narg;
};
diff --git a/sys/sys/ptrace.h b/sys/sys/ptrace.h
index de4e7a7..7135767 100644
--- a/sys/sys/ptrace.h
+++ b/sys/sys/ptrace.h
@@ -112,7 +112,7 @@ struct ptrace_lwpinfo {
sigset_t pl_siglist; /* LWP pending signal */
struct __siginfo pl_siginfo; /* siginfo for signal */
char pl_tdname[MAXCOMLEN + 1]; /* LWP name */
- int pl_child_pid; /* New child pid */
+ pid_t pl_child_pid; /* New child pid */
u_int pl_syscall_code;
u_int pl_syscall_narg;
};
OpenPOWER on IntegriCloud