From e2bab1cd60f51ad68929cf8a97ef127d0dd83a80 Mon Sep 17 00:00:00 2001 From: james <> Date: Fri, 16 Jul 2010 11:04:10 +0000 Subject: ignore tedious return values --- src/log.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/log.c') diff --git a/src/log.c b/src/log.c index 92d1b77..19e7c81 100644 --- a/src/log.c +++ b/src/log.c @@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.15 2010/07/16 11:04:10 james + * ignore tedious return values + * * Revision 1.14 2008/03/11 17:56:04 james * *** empty log message *** * @@ -151,8 +154,8 @@ flog_log (Log * _l, char *buf) t = tv.tv_sec; tm = localtime (&t); - fprintf (l->fp, "%s %2d %02d:%02d:%02d.%06d ", months[tm->tm_mon], - tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, tv.tv_usec); + fprintf (l->fp, "%s %2d %02d:%02d:%02d ", months[tm->tm_mon], + tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); fputs (buf, l->fp); fputc ('\n', l->fp); -- cgit v1.2.3