numam-spdk/lib/log
Seth Howell 8e65bfc7e4 lib/log: add a check for localtime() failure
localtime() can technically fail and return a NULL
pointer. We should handle this case.

Change-Id: I5f9d11c5f992453ec3e3804bd17f5d05a863d526
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3245
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2020-07-15 07:09:19 +00:00
..
log_flags.c log: remove backtrace printing 2020-06-03 07:39:08 +00:00
log.c lib/log: add a check for localtime() failure 2020-07-15 07:09:19 +00:00
Makefile log: remove backtrace printing 2020-06-03 07:39:08 +00:00
spdk_log.map log: remove backtrace printing 2020-06-03 07:39:08 +00:00