summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2012-05-01 21:17:51 +0000
committerDmitry V. Levin <ldv@altlinux.org>2012-05-01 21:17:51 +0000
commita28fbfd523f9758438985847cf9cd6b9c08433b1 (patch)
tree245cb2e05e960659c1bbfff2799e09da792ce588 /time.c
parent4ef3063c95f8f5e703d5612e963c3eaf1785713a (diff)
downloadstrace-a28fbfd523f9758438985847cf9cd6b9c08433b1.tar.gz
strace-a28fbfd523f9758438985847cf9cd6b9c08433b1.tar.bz2
strace-a28fbfd523f9758438985847cf9cd6b9c08433b1.tar.xz
Update STA_* constants
* time.c (adjtimex_status): Add STA_NANO, STA_MODE, and STA_CLK. * NEWS (Improvements): Mention it.
Diffstat (limited to 'time.c')
-rw-r--r--time.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/time.c b/time.c
index 537265e..e457a5f 100644
--- a/time.c
+++ b/time.c
@@ -461,6 +461,15 @@ static const struct xlat adjtimex_status[] = {
#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 }
};