audit_logging.c: fix compilation on macOS
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Wed, 8 Sep 2021 11:57:03 +0000 (12:57 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 13 Oct 2021 01:42:35 +0000 (01:42 +0000)
commitd3675e66fe8eec15076c6b88e47b627ee80c6f9e
tree6324fa62fb2f936368996cb5f140f98ab80a6b60
parent2564e96e8319b4cb4c987dd2a03cf8a293db985a
audit_logging.c: fix compilation on macOS

On macOS tv_usec is an int so failus the build with -Werror,-Wformat.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14862

Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/audit_logging/audit_logging.c