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

Daniel Mack daniel at zonque.org
Wed Aug 20 09:04:09 PDT 2014


On 08/20/2014 05:58 PM, Djalal Harouni wrote:
>  		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]);

Why not use item->audit.sessionid and item->audit.loginid to make it
more readable?


Daniel


More information about the systemd-devel mailing list