Update STA_* constants

* time.c (adjtimex_status): Add STA_NANO, STA_MODE, and STA_CLK.
* NEWS (Improvements): Mention it.
This commit is contained in:
Дмитрий Левин 2012-05-01 21:17:51 +00:00
parent 4ef3063c95
commit a28fbfd523
2 changed files with 10 additions and 1 deletions

2
NEWS
View File

@ -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.

9
time.c
View File

@ -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 }
};