[SSSD] [PATCH] DP: Print a type as hexadecimal number in debug message.
Pavel Reichl
preichl at redhat.com
Mon Oct 6 14:25:03 UTC 2014
> #define BE_REQ_USER 0x0001
> #define BE_REQ_GROUP 0x0002
> #define BE_REQ_INITGROUPS 0x0003
On 10/01/2014 10:57 PM, Lukas Slebodnik wrote:
> - "Got request for [%u][%d][%s]\n", type, attr_type, filter);
> + "Got request for [%#x][%d][%s]\n", type, attr_type, filter);
What about padding the output with zeros same way as the header file?
+ "Got request for [%#.4x][%d][%s]\n", type, attr_type, filter);
But this is not really import for me. I'm ACKing the patch as is.
More information about the sssd-devel
mailing list