diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-07-30 15:53:37 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-07-30 15:53:37 +0000 |
commit | 93471aa3d00837ead3dd0aca5e7ef7650b92d5c3 (patch) | |
tree | 128d8a23effc2fed78111db0b8414c430f79a3a3 /sys | |
parent | c5fd44c4aa97462ac3a9548a03d29d01ec0165e4 (diff) |
minor KNF. pid_t is unsigned.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/systrace.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/systrace.c b/sys/dev/systrace.c index 0740b8eb5f5..88b3aeb5165 100644 --- a/sys/dev/systrace.c +++ b/sys/dev/systrace.c @@ -295,7 +295,7 @@ systracef_ioctl(fp, cmd, data, p) ret = EINVAL; else ret = systrace_attach(fst, pid); - DPRINTF(("%s: attach to %d: %d\n", __func__, pid, ret)); + DPRINTF(("%s: attach to %u: %d\n", __func__, pid, ret)); break; case STRIOCDETACH: ret = systrace_detach(strp); @@ -789,8 +789,8 @@ systrace_answer(struct str_process *strp, struct systrace_answer *ans) { int error = 0; - DPRINTF(("%s: %d: policy %d\n", __func__, - ans->stra_pid, ans->stra_policy)); + DPRINTF(("%s: %u: policy %d\n", __func__, + ans->stra_pid, ans->stra_policy)); if (!POLICY_VALID(ans->stra_policy)) { error = EINVAL; @@ -869,7 +869,7 @@ systrace_policy(struct fsystrace *fst, struct systrace_policy *pol) break; case SYSTR_POLICY_MODIFY: DPRINTF(("%s: %d: code %d -> policy %d\n", __func__, - pol->strp_num, pol->strp_code, pol->strp_policy)); + pol->strp_num, pol->strp_code, pol->strp_policy)); if (!POLICY_VALID(pol->strp_policy)) return (EINVAL); TAILQ_FOREACH(strpol, &fst->policies, next) @@ -941,8 +941,8 @@ systrace_io(struct str_process *strp, struct systrace_io *io) struct iovec iov; int error = 0; - DPRINTF(("%s: %d: %p(%d)\n", __func__, - io->strio_pid, io->strio_offs, io->strio_len)); + DPRINTF(("%s: %u: %p(%d)\n", __func__, + io->strio_pid, io->strio_offs, io->strio_len)); switch (io->strio_op) { case SYSTR_READ: |