summaryrefslogtreecommitdiff
path: root/miscutils/last.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /miscutils/last.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'miscutils/last.c')
-rw-r--r--miscutils/last.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/last.c b/miscutils/last.c
index e7f9eb57a..86613bf27 100644
--- a/miscutils/last.c
+++ b/miscutils/last.c
@@ -2,7 +2,7 @@
2/* 2/*
3 * last implementation for busybox 3 * last implementation for busybox
4 * 4 *
5 * Copyright (C) 2003 Erik Andersen <andersen@codepoet.org> 5 * Copyright (C) 2003-2004 by Erik Andersen <andersen@codepoet.org>
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
@@ -68,10 +68,10 @@ extern int last_main(int argc, char **argv)
68 else if (strncmp(ut.ut_user, "runlevel", 7) == 0) 68 else if (strncmp(ut.ut_user, "runlevel", 7) == 0)
69 ut.ut_type = RUN_LVL; 69 ut.ut_type = RUN_LVL;
70 } else { 70 } else {
71 if (!ut.ut_name[0] || strcmp(ut.ut_name, "LOGIN") == 0 || 71 if (!ut.ut_name[0] || strcmp(ut.ut_name, "LOGIN") == 0 ||
72 ut.ut_name[0] == 0) 72 ut.ut_name[0] == 0)
73 { 73 {
74 /* Don't bother. This means we can't find how long 74 /* Don't bother. This means we can't find how long
75 * someone was logged in for. Oh well. */ 75 * someone was logged in for. Oh well. */
76 continue; 76 continue;
77 } 77 }