From 9a62623a1549906df4d85bf86e2cac8c84629cc2 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Thu, 3 Jan 2008 00:18:03 +0000 Subject: The break() system call takes a pointer argument, not an integer. This change fixes output for break() on LP64 systems. --- usr.bin/truss/syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index 642c29f14ea5..18f87fec8807 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, -- cgit v1.3