log: print dummy timestamp if localtime call fails
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Wed, 15 Jan 2014 16:24:40 +0000 (08:24 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 20 Jan 2014 05:58:57 +0000 (21:58 -0800)
commit1db007202b1bdd86c19f458dc97105b9ed258cb8
tree20f76dabb4f2c475c5845cbeefa45afeda8ef535
parent981fa33809567fd0dbfad0a1b82286ba235b53f4
log: print dummy timestamp if localtime call fails

Handle the case where localtime fails (NULL) and print
something else to indicate localtime is erroneous.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
src/log.c