diff options
author | jasone <jasone@FreeBSD.org> | 2008-01-03 00:18:03 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2008-01-03 00:18:03 +0000 |
commit | 7719fcccbcd3f1197c48ad6c4a9d29efc8e8e362 (patch) | |
tree | c584f4ff1fa35965081dca70360211c562c081f1 /usr.bin | |
parent | 74070565806ee33326b76dcdd5e1e0a86cd4e6ed (diff) | |
download | FreeBSD-src-7719fcccbcd3f1197c48ad6c4a9d29efc8e8e362.zip FreeBSD-src-7719fcccbcd3f1197c48ad6c4a9d29efc8e8e362.tar.gz |
The break() system call takes a pointer argument, not an integer. This
change fixes output for break() on LP64 systems.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/truss/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index 642c29f..18f87fe 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -145,7 +145,7 @@ struct syscall syscalls[] = { { { Int, 0 }, { BinString | IN, 1 }, { Int, 2 }}}, { "ioctl", 1, 3, { { Int, 0 }, { Ioctl, 1 }, { Hex, 2 }}}, - { "break", 1, 1, { { Hex, 0 }}}, + { "break", 1, 1, { { Ptr, 0 }}}, { "exit", 0, 1, { { Hex, 0 }}}, { "access", 1, 2, { { Name | IN, 0 }, { Int, 1 }}}, { "sigaction", 1, 3, |