[systemd-devel] [PATCH 1/2] test: in msg_dump() fix kdbus_audit fields order

Djalal Harouni tixxdz at opendz.org
Wed Aug 20 08:58:56 PDT 2014


We have sessionid then loginuid in kdbus_audit.

Signed-off-by: Djalal Harouni <tixxdz at opendz.org>
---
 test/kdbus-util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/kdbus-util.c b/test/kdbus-util.c
index f79d7ec..956fa6f 100644
--- a/test/kdbus-util.c
+++ b/test/kdbus-util.c
@@ -469,7 +469,7 @@ 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",
+			printf("  +%s (%llu bytes) sessionid=%llu loginuid=%llu\n",
 			       enum_MSG(item->type), item->size,
 			       (unsigned long long)item->data64[0],
 			       (unsigned long long)item->data64[1]);
-- 
1.9.3



More information about the systemd-devel mailing list