Re: [PATCH] timens: show clock symbolic names in /proc/pid/timens_offsets

From: Michael Kerrisk (man-pages)
Date: Sat Apr 11 2020 - 06:36:39 EST


> As things stand, there is to my eye an excessive amount of white space
> in the output produced by this line:
>
>> + seq_printf(m, "%s\t%10lld\t%10ld\n", clock, ts->tv_sec, ts->tv_nsec);
>
> Can I suggest instead something like:
>
> seq_printf(m, "%-16s %10lld %9ld\n", clock, ts->tv_sec, ts->tv_nsec);

Actually, how about even s/-16s/-10s/ for that first field.

Thanks,

Michael


--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/