projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cfa5ef
)
cast the time pointer so gcc stops warning over nothing
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 23 Apr 2005 01:42:03 +0000
(
01:42
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 23 Apr 2005 01:42:03 +0000
(
01:42
-0000)
coreutils/who.c
patch
|
blob
|
history
diff --git
a/coreutils/who.c
b/coreutils/who.c
index 9561db132f3bb03d381552f4fd7a1dc5a0557932..0531326bd60c073b2a0837c8a9bd5eb0b662e471 100644
(file)
--- a/
coreutils/who.c
+++ b/
coreutils/who.c
@@
-74,7
+74,7
@@
extern int who_main(int argc, char **argv)
} else
printf("%-8s ", "?");
- printf("%-12.12s %s\n", ctime(&(ut->ut_tv.tv_sec)) + 4, ut->ut_host);
+ printf("%-12.12s %s\n", ctime(
(time_t*)
&(ut->ut_tv.tv_sec)) + 4, ut->ut_host);
}
}
endutent();