Comment 2 for bug 476811

Revision history for this message
aeneas (aeneascarver) wrote :

I can confirm this bug. If (!) there is indeed ck-histroy used or the code from ck-history then this is a oneliner:

To fix ck-history:
http://cgit.freedesktop.org/ConsoleKit/tree/tools/ck-history.c#n772

just change
                g_print ("%-8.8s %u\n", username, data->count);

to:
                g_print ("%s %u\n", username, data->count);

or even better: (swap username and datacount to omit padding issues and retain the tab-like format)
                g_print ("%8u %s\n", data->count, username);