From f204d1bbeec6997dad47a92864af6c7b521a0b17 Mon Sep 17 00:00:00 2001 From: ache 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(-) (limited to 'usr.bin/last/last.c') diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c index 25a7627..4a378f6 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.1