diff --git a/w.c b/w.c index 102c6034..db7d75c7 100644 --- a/w.c +++ b/w.c @@ -436,7 +436,7 @@ int main(int argc, char **argv) * headers. Try to keep alignment intact. */ printf(_("%-*s TTY "), userlen, _("USER")); if (from) - printf(_("FROM ")); + printf("%-*s", fromlen - 1, _("FROM")); if (longform) printf(_(" LOGIN@ IDLE JCPU PCPU WHAT\n")); else