aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/last.c3
-rw-r--r--miscutils/last_fancy.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/miscutils/last.c b/miscutils/last.c
index a8800bfe6..612f50488 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 0dba9dca7..2b7fee6e5 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