[systemd-devel] [PATCH] test: use audit.loginuid and audit.sessionid when dumping the audit item
Djalal Harouni
tixxdz at opendz.org
Wed Aug 20 09:41:03 PDT 2014
Signed-off-by: Djalal Harouni <tixxdz at opendz.org>
---
test/kdbus-util.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/kdbus-util.c b/test/kdbus-util.c
index f79d7ec..5b3df7d 100644
--- a/test/kdbus-util.c
+++ b/test/kdbus-util.c
@@ -471,8 +471,8 @@ void msg_dump(const struct conn *conn, const struct kdbus_msg *msg)
case KDBUS_ITEM_AUDIT:
printf(" +%s (%llu bytes) loginuid=%llu sessionid=%llu\n",
enum_MSG(item->type), item->size,
- (unsigned long long)item->data64[0],
- (unsigned long long)item->data64[1]);
+ (unsigned long long)item->audit.loginuid,
+ (unsigned long long)item->audit.sessionid);
break;
case KDBUS_ITEM_CAPS: {
--
1.9.3
More information about the systemd-devel
mailing list