aboutsummaryrefslogtreecommitdiff
path: root/coreutils/who.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-17 16:28:10 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-17 16:28:10 +0000
commit9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e (patch)
tree94c3c0678d1349497abe2db6004e9331e50f6d37 /coreutils/who.c
parenta6127aacef047ed7661722705b052811fbe7f467 (diff)
downloadbusybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.gz
busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.bz2
busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.zip
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 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) {