From: Miroslav Lichvar Date: Mon, 27 Apr 2015 10:27:13 +0000 (+0200) Subject: sys: fix TMX_ResetOffset() to set status back correctly X-Git-Tag: 2.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29b587a9c52ef221d3653aa5277ba1e30e2da7b6;p=thirdparty%2Fchrony.git sys: fix TMX_ResetOffset() to set status back correctly --- diff --git a/wrap_adjtimex.c b/wrap_adjtimex.c index a6015b26..ef7b0660 100644 --- a/wrap_adjtimex.c +++ b/wrap_adjtimex.c @@ -71,7 +71,7 @@ TMX_ResetOffset(void) /* Set status back */ txc.modes = ADJ_STATUS; - txc.modes = status; + txc.status = status; if (adjtimex(&txc) < 0) return -1;