]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
truss: Add support for fsync(2) and fdatasync(2).
authortmunro <tmunro@FreeBSD.org>
Thu, 28 Feb 2019 09:13:41 +0000 (09:13 +0000)
committertmunro <tmunro@FreeBSD.org>
Thu, 28 Feb 2019 09:13:41 +0000 (09:13 +0000)
commit286aa3bdb8cd6461de58999a179a388805450fde
tree9f928a9b55f4be002a5337b4fb920f80a0a4c12c
parent2e7e876d2d976be5a3d058dc48a2d2429213b2de
truss: Add support for fsync(2) and fdatasync(2).

The default handling showed the argument as hex.  Add explicit handling so
we can show it as decimal, since that's how we show file descriptors
everywhere else.

Approved by: mjg (mentor)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D19295
usr.bin/truss/syscalls.c