From: Dmitry V. Levin Date: Tue, 1 May 2012 21:17:51 +0000 (+0000) Subject: Update STA_* constants X-Git-Tag: v4.7~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a28fbfd523f9758438985847cf9cd6b9c08433b1;p=strace Update STA_* constants * time.c (adjtimex_status): Add STA_NANO, STA_MODE, and STA_CLK. * NEWS (Improvements): Mention it. --- diff --git a/NEWS b/NEWS index 7fdb1723..1f3de086 100644 --- a/NEWS +++ b/NEWS @@ -28,7 +28,7 @@ Noteworthy changes in release 4.7 * Added syscall entries for new linux syscalls. * Added syscall entries for direct socket system calls on powerpc. * Updated the list of errno constants. - * Updated lists of MSG_* and TCP_* constants. + * Updated lists of MSG_*, STA_*, and TCP_* constants. * Regenerated the list of ioctl names from Linux 3.3. * Enhanced switching between processes with different personalities. * Enhanced signals reporting by using short signal names. diff --git a/time.c b/time.c index 537265e0..e457a5ff 100644 --- a/time.c +++ b/time.c @@ -460,6 +460,15 @@ static const struct xlat adjtimex_status[] = { #endif #ifdef STA_CLOCKERR { STA_CLOCKERR, "STA_CLOCKERR" }, +#endif +#ifdef STA_NANO + { STA_NANO, "STA_NANO" }, +#endif +#ifdef STA_MODE + { STA_MODE, "STA_MODE" }, +#endif +#ifdef STA_CLK + { STA_CLK, "STA_CLK" }, #endif { 0, NULL } };