summaryrefslogtreecommitdiff
path: root/strace.c
diff options
context:
space:
mode:
authorWichert Akkerman <wichert@deephackmode.org>2000-08-10 02:14:04 +0000
committerWichert Akkerman <wichert@deephackmode.org>2000-08-10 02:14:04 +0000
commit16a03d2e97415afe6cf34172a0aea97a95a0b160 (patch)
tree6f229102401c8d22a9cd85c69f63dcb49b36ca6f /strace.c
parente381610a008714838053fdb9ca9b6b9bdeeaa8e4 (diff)
downloadstrace-16a03d2e97415afe6cf34172a0aea97a95a0b160.tar.gz
strace-16a03d2e97415afe6cf34172a0aea97a95a0b160.tar.bz2
strace-16a03d2e97415afe6cf34172a0aea97a95a0b160.tar.xz
test/clone.c: minor fixup
Another bunch of patches from John Hughes merged: signal.c: + SVR4 printcontext(): sigset_t != sigset_t* + getcontext returns a value, so print on exit of syscall + add UC_FP to ucontext_flags for OS writers that can't spell + sys_signal(): special case SIG_{ERR,DFL,IGN} + decode_subcall(): only do subcall range checking when needed bunch of UnixWare updates aclocal.m4, acconfig.h, configure.in: add test for long long type
Diffstat (limited to 'strace.c')
-rw-r--r--strace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strace.c b/strace.c
index 4a46877..f96eaa0 100644
--- a/strace.c
+++ b/strace.c
@@ -660,7 +660,7 @@ int attaching;
}
}
/* Stop the process so that we own the stop. */
- if (IOCTL(tcp->pfd, PIOCSTOP, NULL) < 0) {
+ if (IOCTL(tcp->pfd, PIOCSTOP, (char *)NULL) < 0) {
perror("strace: PIOCSTOP");
return -1;
}