]> granicus.if.org Git - sysstat/commit
Use NULL as an argument for time() system call
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 5 Jun 2020 15:45:22 +0000 (17:45 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 5 Jun 2020 15:45:22 +0000 (17:45 +0200)
commitcca18f6ae0176d4dcf88201f122afeeddf6357cc
tree1bfdb90042f49ec6bba64e5bfdf746604fe9d7c6
parentda7a232281c0a3679e40939a3dc2a107ce2175e2
Use NULL as an argument for time() system call

According to the time(2) manual page, the argument passed to time()
system call is obsolescent and should always be NULL in new code.
When this argument is NULL, the call cannot fail.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
common.c
systest.c
systest.h
tests/12.0.1/common.c