diff options
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/last.c | 3 | ||||
-rw-r--r-- | miscutils/last_fancy.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/miscutils/last.c b/miscutils/last.c index a8800bf..612f504 100644 --- a/miscutils/last.c +++ b/miscutils/last.c @@ -10,6 +10,9 @@ #include "libbb.h" #include <utmp.h> +/* NB: ut_name and ut_user are the same field, use only one name (ut_user) + * to reduce confusion */ + #ifndef SHUTDOWN_TIME # define SHUTDOWN_TIME 254 #endif diff --git a/miscutils/last_fancy.c b/miscutils/last_fancy.c index 0dba9dc..2b7fee6 100644 --- a/miscutils/last_fancy.c +++ b/miscutils/last_fancy.c @@ -10,6 +10,9 @@ #include "libbb.h" #include <utmp.h> +/* NB: ut_name and ut_user are the same field, use only one name (ut_user) + * to reduce confusion */ + #ifndef SHUTDOWN_TIME # define SHUTDOWN_TIME 254 #endif |