summaryrefslogtreecommitdiff
path: root/miscutils
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
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')
-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 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