summaryrefslogtreecommitdiff
path: root/miscutils/last_fancy.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-06-01 22:36:39 +0000
committerDenis Vlasenko2008-06-01 22:36:39 +0000
commitcd2663f15e74274619dd97dc382bb858ac255872 (patch)
treef86565e574c3488794383b910b9f3fa3ae27df48 /miscutils/last_fancy.c
parentd78920675f31d6ec87dc883c4edc0f3862b22f6a (diff)
downloadbusybox-cd2663f15e74274619dd97dc382bb858ac255872.zip
busybox-cd2663f15e74274619dd97dc382bb858ac255872.tar.gz
ash: optional printf builtin. +25 bytes if off, +35 if on.
by Cristian Ionescu-Idbohrn.
Diffstat (limited to 'miscutils/last_fancy.c')
-rw-r--r--miscutils/last_fancy.c3
1 files changed, 3 insertions, 0 deletions
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