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

Djalal Harouni tixxdz at opendz.org
Wed Aug 20 09:18:24 PDT 2014


On Wed, Aug 20, 2014 at 06:04:09PM +0200, Daniel Mack wrote:
> 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?
Oh yes :-) sorry will do it.


> 
> Daniel

-- 
Djalal Harouni
http://opendz.org


More information about the systemd-devel mailing list