projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82b2e72
)
test: use audit.loginuid and audit.sessionid when dumping the audit item
author
Djalal Harouni
<tixxdz@opendz.org>
Wed, 20 Aug 2014 16:41:03 +0000
(17:41 +0100)
committer
Daniel Mack
<zonque@gmail.com>
Wed, 20 Aug 2014 16:49:16 +0000
(18:49 +0200)
Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
test/kdbus-util.c
patch
|
blob
|
history
diff --git
a/test/kdbus-util.c
b/test/kdbus-util.c
index f79d7ecf680b24a36cb97532cd269fd11a13185b..5b3df7d33d250bac729acb04e14d7d97a46b8e95 100644
(file)
--- 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: {