diff options
author | Eric Andersen | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /miscutils/last.c | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-c7bda1ce659294d6e22c06e087f6f265983c7578.zip busybox-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'miscutils/last.c')
-rw-r--r-- | miscutils/last.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/last.c b/miscutils/last.c index e7f9eb5..86613bf 100644 --- a/miscutils/last.c +++ b/miscutils/last.c @@ -2,7 +2,7 @@ /* * last implementation for busybox * - * Copyright (C) 2003 Erik Andersen <andersen@codepoet.org> + * Copyright (C) 2003-2004 by Erik Andersen <andersen@codepoet.org> * * This program is free software; you can redistribute it and/or modify * 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) else if (strncmp(ut.ut_user, "runlevel", 7) == 0) ut.ut_type = RUN_LVL; } else { - if (!ut.ut_name[0] || strcmp(ut.ut_name, "LOGIN") == 0 || + if (!ut.ut_name[0] || strcmp(ut.ut_name, "LOGIN") == 0 || ut.ut_name[0] == 0) { - /* Don't bother. This means we can't find how long + /* Don't bother. This means we can't find how long * someone was logged in for. Oh well. */ continue; } |