Avoid year-2038-problem
PATCH 1/1 Avoid year-2038-problem
From: "Bernhard M. Wiedemann" <[email protected]>
This patch was done while reviewing potential year-2038 issues in openSUSE.
Signed-off-by Bernhard M. Wiedemann <[email protected]>
Reviewed-by David Disseldorp <[email protected]>
--- daemon/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
daemon/state.c +1 -1
@@ -514,7 +514,7 @@ static unsigned int st_readmap(struct autofs_point *ap)pthread_t thid;struct readmap_args *ra;int status; -int now =monotonic_time (NULL ); +time_t now =monotonic_time (NULL );debug (ap->logopt,"state %d path %s" , ap->state, ap->path);
Signature · 1 line
2.51.0