Print open(2) flags in hex instread of decimal for clarity.

This commit is contained in:
Alfred Perlstein 2001-12-30 23:11:52 +00:00
parent a2036daf1c
commit 09bf11699f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88726

View file

@ -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 }}},