Thread (11 messages) flat view 11 messages, 4 authors, 2020-04-16

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

From: Michael Kerrisk (man-pages) <hidden>
Date: 2020-04-11 10:36:38
Also in: lkml

As things stand, there is to my eye an excessive amount of white space
in the output produced by this line:
quoted
+	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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help