shithub: riscv

Download patch

ref: 4a1186ddfe422c94f16e0d21efda599bb4556355
parent: 693485e9c4eab63cf46f38783c2e5f8097ae2bc9
author: Ori Bernstein <[email protected]>
date: Mon Sep 7 14:49:00 EDT 2020

tmdate(2): fix name of tm struct

There was a leftover from when this library was separate
with different types.

--- a/sys/man/2/tmdate
+++ b/sys/man/2/tmdate
@@ -9,10 +9,10 @@
 .ft L
 .nf
 .EX
-typedef struct Tmd Tmd;
+typedef struct Tm Tm;
 typedef struct Tmfmt Tmfmt;
 
-struct {
+struct Tm {
 	int	nsec;	/* nanoseconds (range 0..1e9) */
 	int	sec;	/* seconds (range 0..59) */
 	int	min;	/* minutes (0..59) */