diff options
author | Denys Vlasenko | 2010-04-05 03:18:40 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-04-05 03:18:40 +0200 |
commit | 37f5bef63c0db4892d8ffa3c38a04c7998e10f83 (patch) | |
tree | a2867f7b8d8a50954f331729bb55e4352f48ff9a /init | |
parent | 4c721049c3114c946848fbbd38d6180aa7af537d (diff) | |
download | busybox-37f5bef63c0db4892d8ffa3c38a04c7998e10f83.zip busybox-37f5bef63c0db4892d8ffa3c38a04c7998e10f83.tar.gz |
libbb: split update_utmp from login/getty in preparation to use it for telnetd
function old new delta
update_utent - 339 +339
login_main 1498 1128 -370
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/1 up/down: 339/-370) Total: -31 bytes
function old new delta
update_utmp 246 337 +91
login_main 1128 1140 +12
getty_main 1908 1918 +10
...
update_utent 339 - -339
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 5/6 up/down: 119/-368) Total: -249 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/halt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/init/halt.c b/init/halt.c index 16906df..a3459ee 100644 --- a/init/halt.c +++ b/init/halt.c @@ -30,7 +30,6 @@ static void write_wtmp(void) if (uname(&uts) == 0) safe_strncpy(utmp.ut_host, uts.release, sizeof(utmp.ut_host)); updwtmp(bb_path_wtmp_file, &utmp); - } #else #define write_wtmp() ((void)0) |