summaryrefslogtreecommitdiff
path: root/test
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 /test
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 'test')
-rw-r--r--test/clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/clone.c b/test/clone.c
index 4fb6613..1395b6b 100644
--- a/test/clone.c
+++ b/test/clone.c
@@ -10,7 +10,7 @@ int
main()
{
char stack[4096];
- if (clone(child, stack+4000, CLONE_VM|CLONE_FS|CLONE_FILES, NULL) == 0)
+ if (clone(child, stack+4000, CLONE_VM|CLONE_FS|CLONE_FILES, NULL) != 0)
write(1, "original\n", 9);
exit(0);
}