From eb7456fc972920d69c9581fdb699812e37ebeb97 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Thu, 5 Dec 1996 17:56:05 +0000 Subject: Remove one space to produce the same output alignment like in who, rwho, w, etc. --- usr.bin/last/last.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c index 25a762742c53..4a378f62a919 100644 --- a/usr.bin/last/last.c +++ b/usr.bin/last/last.c @@ -203,7 +203,7 @@ wtmp() if (want(bp)) { tm = localtime(&bp->ut_time); (void) strftime(ct, sizeof(ct), "%c", tm); - printf("%-*.*s %-*.*s %-*.*s %10.10s %5.5s \n", + printf("%-*.*s %-*.*s %-*.*s %10.10s %5.5s \n", UT_NAMESIZE, UT_NAMESIZE, bp->ut_name, UT_LINESIZE, UT_LINESIZE, bp->ut_line, @@ -223,7 +223,7 @@ wtmp() if (want(bp)) { tm = localtime(&bp->ut_time); (void) strftime(ct, sizeof(ct), "%c", tm); - printf("%-*.*s %-*.*s %-*.*s %10.10s %5.5s \n", + printf("%-*.*s %-*.*s %-*.*s %10.10s %5.5s \n", UT_NAMESIZE, UT_NAMESIZE, bp->ut_name, UT_LINESIZE, UT_LINESIZE, bp->ut_line, UT_HOSTSIZE, UT_HOSTSIZE, bp->ut_host, @@ -261,7 +261,7 @@ wtmp() bp->ut_line[4] = '\0'; tm = localtime(&bp->ut_time); (void) strftime(ct, sizeof(ct), "%c", tm); - printf("%-*.*s %-*.*s %-*.*s %10.10s %5.5s ", + printf("%-*.*s %-*.*s %-*.*s %10.10s %5.5s ", UT_NAMESIZE, UT_NAMESIZE, bp->ut_name, UT_LINESIZE, UT_LINESIZE, bp->ut_line, UT_HOSTSIZE, UT_HOSTSIZE, bp->ut_host, -- cgit v1.3