who: fix wrong date/time field size
This commit is contained in:
parent
40702dac93
commit
e5569cb52e
@ -63,7 +63,8 @@ int who_main(int argc, char **argv)
|
||||
str6[1] = '\0';
|
||||
if (stat(name, &st) == 0)
|
||||
idle_string(str6, st.st_atime);
|
||||
printf("%-10s %-8s %-9s %-14.14s %s\n",
|
||||
/* 15 chars for time: Nov 10 19:33:20 */
|
||||
printf("%-10s %-8s %-9s %-15.15s %s\n",
|
||||
ut->ut_user, ut->ut_line, str6,
|
||||
ctime(&thyme) + 4, ut->ut_host);
|
||||
if (ENABLE_FEATURE_CLEAN_UP)
|
||||
|
Loading…
Reference in New Issue
Block a user