aboutsummaryrefslogtreecommitdiff
path: root/coreutils/who.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-17 16:28:10 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-17 16:28:10 +0000
commit85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212 (patch)
tree94c3c0678d1349497abe2db6004e9331e50f6d37 /coreutils/who.c
parent75648f106cb64fb6ccbb4a79d89fd6aef7298081 (diff)
downloadbusybox-w32-85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212.tar.gz
busybox-w32-85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212.tar.bz2
busybox-w32-85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212.zip
whitespace cleanup
git-svn-id: svn://busybox.net/trunk/busybox@16142 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 95ad21953..7566bfddc 100644
--- a/coreutils/who.c
+++ b/coreutils/who.c
@@ -24,7 +24,7 @@
24static const char * idle_string (time_t t) 24static const char * idle_string (time_t t)
25{ 25{
26 static char str[6]; 26 static char str[6];
27 27
28 time_t s = time(NULL) - t; 28 time_t s = time(NULL) - t;
29 29
30 if (s < 60) 30 if (s < 60)
@@ -43,11 +43,11 @@ int who_main(int argc, char **argv)
43 struct utmp *ut; 43 struct utmp *ut;
44 struct stat st; 44 struct stat st;
45 char *name; 45 char *name;
46 46
47 if (argc > 1) { 47 if (argc > 1) {
48 bb_show_usage(); 48 bb_show_usage();
49 } 49 }
50 50
51 setutent(); 51 setutent();
52 printf("USER TTY IDLE TIME HOST\n"); 52 printf("USER TTY IDLE TIME HOST\n");
53 while ((ut = getutent()) != NULL) { 53 while ((ut = getutent()) != NULL) {