Fix: rotation_unavailable returned on failure to read time
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 22 Nov 2018 01:53:43 +0000 (20:53 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 3 Dec 2018 00:41:01 +0000 (19:41 -0500)
A "rotation feature unavailable" error code is returned if the
session daemon fails to sample time. The TIME(2) man page has
makes no mention of an error that could happen in this use case
(as time()'s parameter is NULL, EFAULT does not apply).

However, a more general error code is more appropriate should
this call fail.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

No differences found
This page took 0.0273409999999999 seconds and 4 git commands to generate.