NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/56010: timeradd(3) man page problem



>Number:         56010
>Category:       lib
>Synopsis:       timeradd(3) man page problem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 23 07:25:00 +0000 2021
>Originator:     Kouichi Hashikawa
>Release:        NetBSD-9.99.80
>Organization:
>Environment:
NetBSD 9.99.80 (GENERIC64) #0: Sat Feb 20 22:18:32 UTC 2021
 	mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64

>Description:
timespeccmp()'s SYNOPSIS is not correct.

(NetBSD-9 has same problem)
>How-To-Repeat:

>Fix:
diff -u src/share/man/man3/timeradd.3-dist src/share/man/man3/timeradd.3
--- src/share/man/man3/timeradd.3-dist  2010-06-08 03:40:16.000000000 +0900
+++ src/share/man/man3/timeradd.3       2021-02-23 16:16:56.224479639 +0900
@@ -59,7 +59,7 @@
 .Ft int
 .Fn timespecisset "struct timespec *ts"
 .Ft int
-.Fn timespeccmp "struct timespec *a" "struct timespec b" CMP
+.Fn timespeccmp "struct timespec *a" "struct timespec *b" CMP
 .Sh DESCRIPTION
 These macros are provided for manipulating the
 .Fa timeval



Home | Main Index | Thread Index | Old Index