summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2001-12-30 23:11:52 +0000
committeralfred <alfred@FreeBSD.org>2001-12-30 23:11:52 +0000
commit275bf1142ee0651f48369f238f8b3ca417039349 (patch)
tree3261ef64e7283146e48feff9265a46f60f8c34eb /usr.bin/truss
parentfedd0e40cedf1b9b7c7b7c553cadab44aa8cf2ee (diff)
downloadFreeBSD-src-275bf1142ee0651f48369f238f8b3ca417039349.zip
FreeBSD-src-275bf1142ee0651f48369f238f8b3ca417039349.tar.gz
Print open(2) flags in hex instread of decimal for clarity.
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index 333e0d2..47b0a4b 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -68,9 +68,9 @@ struct syscall syscalls[] = {
{ "mmap", 2, 6,
{ { Hex, 0 }, {Int, 1}, {Hex, 2}, {Hex, 3}, {Int, 4}, {Quad, 6}}},
{ "open", 1, 3,
- { { String | IN, 0} , { Int, 1}, {Octal, 2}}},
+ { { String | IN, 0} , { Hex, 1}, {Octal, 2}}},
{ "linux_open", 1, 3,
- { { String, 0 }, { Int, 1}, { Octal, 2 }}},
+ { { String, 0 }, { Hex, 1}, { Octal, 2 }}},
{ "close", 1, 1, { { Int, 0 } } },
{ "fstat", 1, 2,
{ { Int, 0}, {Ptr | OUT , 1 }}},
OpenPOWER on IntegriCloud