git: 85379a47c4cb - stable/13 - time.3: Update ERRORS section

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Fri, 11 Mar 2022 10:07:58 UTC
The branch stable/13 has been updated by 0mp (doc, ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=85379a47c4cbf9366d05f0a3cc350b18557000d4

commit 85379a47c4cbf9366d05f0a3cc350b18557000d4
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-03-04 14:09:32 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-03-11 10:05:47 +0000

    time.3: Update ERRORS section
    
    time() is now implemented using clock_gettime(2) instead of
    gettimeofday(2).
    
    Reviewed by:    debdrup
    Fixes:          358ed16f7505 Use clock_gettime(CLOCK_SECOND)
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D34438
    
    (cherry picked from commit 413045a52c5f14ac22516b4f622d0132dc34e882)
---
 lib/libc/gen/time.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/libc/gen/time.3 b/lib/libc/gen/time.3
index 1ff703ff572a..1563e672b3ba 100644
--- a/lib/libc/gen/time.3
+++ b/lib/libc/gen/time.3
@@ -32,7 +32,7 @@
 .\"     @(#)time.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd July 18, 2003
+.Dd March 4, 2022
 .Dt TIME 3
 .Os
 .Sh NAME
@@ -64,7 +64,7 @@ is non-null.
 The
 .Fn time
 function may fail for any of the reasons described in
-.Xr gettimeofday 2 .
+.Xr clock_gettime 2 .
 .Sh SEE ALSO
 .Xr clock_gettime 2 ,
 .Xr gettimeofday 2 ,