diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2017-05-03 09:09:34 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2017-05-03 09:09:34 +0000 |
commit | e8d2c81d5b88e5b837423455cba0e93b5533dac0 (patch) | |
tree | af43599337f654b2a740b194f84883160e6b6307 /usr.bin/truss | |
parent | c32d0b568938fe912059af8143fa032e5a1bb863 (diff) | |
download | src-e8d2c81d5b88e5b837423455cba0e93b5533dac0.tar.gz src-e8d2c81d5b88e5b837423455cba0e93b5533dac0.zip |
Notes
Diffstat (limited to 'usr.bin/truss')
-rw-r--r-- | usr.bin/truss/syscalls.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index bd8b932e9efe..861356446498 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -212,7 +212,9 @@ static struct syscall decoded_syscalls[] = { { .name = "linkat", .ret_type = 1, .nargs = 5, .args = { { Atfd, 0 }, { Name, 1 }, { Atfd, 2 }, { Name, 3 }, { Atflags, 4 } } }, - { .name = "lseek", .ret_type = 2, .nargs = 3, + { .name = "listen", .ret_type = 1, .nargs = 2, + .args = { { Int, 0 }, { Int, 1 } } }, + { .name = "lseek", .ret_type = 2, .nargs = 3, .args = { { Int, 0 }, { QuadHex, 1 }, { Whence, 2 } } }, { .name = "lstat", .ret_type = 1, .nargs = 2, .args = { { Name | IN, 0 }, { Stat | OUT, 1 } } }, |