summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-23 15:22:50 +0000
committered <ed@FreeBSD.org>2009-12-23 15:22:50 +0000
commita0fa5bcb40b1e91b2066aef7b3d02ed0547abea1 (patch)
tree5de0fe0065603df98bd3565e1f4e9dd72afcc7bb /usr.bin
parentc7656477f07191c16f5723a52c5eca4b3463c304 (diff)
downloadFreeBSD-src-a0fa5bcb40b1e91b2066aef7b3d02ed0547abea1.zip
FreeBSD-src-a0fa5bcb40b1e91b2066aef7b3d02ed0547abea1.tar.gz
Allow proper tracing of posix_openpt(2).
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/truss/syscalls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index 28df6d0..afc8a32 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -258,6 +258,8 @@ struct syscall syscalls[] = {
.args = { { Name , 0 } , { Name, 1 } } },
{ .name = "symlink", .ret_type = 1, .nargs = 2,
.args = { { Name , 0 } , { Name, 1 } } },
+ { .name = "posix_openpt", .ret_type = 1, .nargs = 1,
+ .args = { { Open, 0 } } },
{ .name = 0 },
};
OpenPOWER on IntegriCloud