]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
time: Reference CLOCKS_PER_SEC in clock comment [BZ #22735]
authorSean McKean <smckean83@gmail.com>
Fri, 2 Feb 2018 10:59:31 +0000 (11:59 +0100)
committerSean McKean <smckean83@gmail.com>
Fri, 2 Feb 2018 10:59:31 +0000 (11:59 +0100)
(cherry picked from commit 09e56b9e18f987105e39768f907db800e9330930)

ChangeLog
NEWS
time/time.h

index 08f2612cf470e0cd7faa60c679c7ce4b16ecee72..4c0b25042dc413ba2fcad446c07d5bb0fc27ee82 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-02-02  Sean McKean  <smckean83@gmail.com>
+
+       [BZ #22735]
+       * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
+
 2018-02-10  Dmitry V. Levin  <ldv@altlinux.org>
 
        [BZ #22433]
diff --git a/NEWS b/NEWS
index 40c0fbc3bac2830b3ecbb353f268b720119ae78e..d7f156790df0170926d8f96a4df689bfdc2cf810 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ The following bugs are resolved with this release:
 
   [22638] sparc: static binaries are broken if glibc is built by gcc
     configured with --enable-default-pie
+  [22735] Misleading typo in time.h source comment regarding CLOCKS_PER_SECOND
   [22797] Linux: use reserved name __key in pkey_get
   [22827] RISC-V ELF64 parser mis-reads flag in ldconfig
 
index 49d30438f38c26b2b93f198fe78b6606fd278530..4b55e34402ff3dca43cd7002e60a7b50966c8c3f 100644 (file)
@@ -68,7 +68,7 @@ typedef __pid_t pid_t;
 __BEGIN_DECLS
 
 /* Time used by the program so far (user time + system time).
-   The result / CLOCKS_PER_SECOND is program time in seconds.  */
+   The result / CLOCKS_PER_SEC is program time in seconds.  */
 extern clock_t clock (void) __THROW;
 
 /* Return the current time and put it in *TIMER if TIMER is not NULL.  */