diff options
author | des <des@FreeBSD.org> | 2008-10-20 17:09:50 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2008-10-20 17:09:50 +0000 |
commit | afd6f1dcd0a82039ee04f2250c5cf4ea2147598d (patch) | |
tree | a795e288b1f46ee33b171e06631e1b3d95b40132 /lib/libutil | |
parent | 9dcafcf0a3133d365087661e979d020164dd4428 (diff) | |
download | FreeBSD-src-afd6f1dcd0a82039ee04f2250c5cf4ea2147598d.zip FreeBSD-src-afd6f1dcd0a82039ee04f2250c5cf4ea2147598d.tar.gz |
Additional style and whitespace fixes.
Diffstat (limited to 'lib/libutil')
-rw-r--r-- | lib/libutil/login_times.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libutil/login_times.c b/lib/libutil/login_times.c index 9af2c63..e2c7bf2 100644 --- a/lib/libutil/login_times.c +++ b/lib/libutil/login_times.c @@ -137,11 +137,12 @@ in_ltm(const login_time_t *ltm, struct tm *tt, time_t *ends) int in_lt(const login_time_t *ltm, time_t *t) { + return (in_ltm(ltm, localtime(t), t)); } int -in_ltms(const login_time_t *ltm, struct tm * tm, time_t *t) +in_ltms(const login_time_t *ltm, struct tm *tm, time_t *t) { int i = 0; @@ -156,5 +157,6 @@ in_ltms(const login_time_t *ltm, struct tm * tm, time_t *t) int in_lts(const login_time_t *ltm, time_t *t) { + return (in_ltms(ltm, localtime(t), t)); } |