summaryrefslogtreecommitdiff
path: root/coreutils/who.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-17 16:28:10 +0000
committerDenis Vlasenko2006-09-17 16:28:10 +0000
commit9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e (patch)
tree94c3c0678d1349497abe2db6004e9331e50f6d37 /coreutils/who.c
parenta6127aacef047ed7661722705b052811fbe7f467 (diff)
downloadbusybox-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.zip
busybox-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.gz
whitespace cleanup
Diffstat (limited to 'coreutils/who.c')
-rw-r--r--coreutils/who.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/who.c b/coreutils/who.c
index 95ad219..7566bfd 100644
--- a/coreutils/who.c
+++ b/coreutils/who.c
@@ -24,7 +24,7 @@
static const char * idle_string (time_t t)
{
static char str[6];
-
+
time_t s = time(NULL) - t;
if (s < 60)
@@ -43,11 +43,11 @@ int who_main(int argc, char **argv)
struct utmp *ut;
struct stat st;
char *name;
-
+
if (argc > 1) {
bb_show_usage();
}
-
+
setutent();
printf("USER TTY IDLE TIME HOST\n");
while ((ut = getutent()) != NULL) {