public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] timespec.3type: tfix: use correct name for nanosecond field
@ 2023-01-03 23:45 Thomas Weißschuh
  2023-01-03 23:49 ` Alejandro Colomar
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Weißschuh @ 2023-01-03 23:45 UTC (permalink / raw)
  To: linux-man, Alejandro Colomar, Michael Kerrisk; +Cc: Thomas Weißschuh

The field is correctly called "tv_nsec" as it is also used in other
places in the manpage.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
 man3type/timespec.3type | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3type/timespec.3type b/man3type/timespec.3type
index fdddcc778d6c..7cd80ce8669b 100644
--- a/man3type/timespec.3type
+++ b/man3type/timespec.3type
@@ -16,7 +16,7 @@ Standard C library
 .PP
 .B struct timespec {
 .BR "    time_t  tv_sec;" "   /* Seconds */"
-.BR "    long    tv_usec;" "  /* Nanoseconds [" 0 ", " 999999999 "] */"
+.BR "    long    tv_nsec;" "  /* Nanoseconds [" 0 ", " 999999999 "] */"
 .B };
 .EE
 .SH DESCRIPTION

base-commit: 7474e450de3dc6c2b96fadd3271b1643b4f094a6
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-03 23:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-03 23:45 [PATCH] timespec.3type: tfix: use correct name for nanosecond field Thomas Weißschuh
2023-01-03 23:49 ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox