Re: git: bd8621c6cd8a - main - kern_time: minor style nits
- In reply to: Warner Losh : "git: bd8621c6cd8a - main - kern_time: minor style nits"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jun 2025 17:42:23 UTC
On Fri, Jun 13, 2025 at 02:35:25PM +0000, Warner Losh wrote: > The branch main has been updated by imp: > > URL: https://cgit.FreeBSD.org/src/commit/?id=bd8621c6cd8a7499e7c8be189cf1ffd102dcc9d1 > > commit bd8621c6cd8a7499e7c8be189cf1ffd102dcc9d1 > Author: Warner Losh <imp@FreeBSD.org> > AuthorDate: 2025-06-13 14:34:21 +0000 > Commit: Warner Losh <imp@FreeBSD.org> > CommitDate: 2025-06-13 14:34:21 +0000 > > kern_time: minor style nits > > Typically we spell error values 'error' not 'err'. And fix EINVAL markup > nit. > > Suggested by: kib > Fixes: 7b7ba7857ce8 > Sponsored by: Netflix > --- > lib/libsys/clock_gettime.2 | 4 +++- > sys/kern/kern_time.c | 32 ++++++++++++++++---------------- > 2 files changed, 19 insertions(+), 17 deletions(-) > > diff --git a/lib/libsys/clock_gettime.2 b/lib/libsys/clock_gettime.2 > index 1dcfd9d1faf7..c3b8fb92c9c1 100644 > --- a/lib/libsys/clock_gettime.2 > +++ b/lib/libsys/clock_gettime.2 > @@ -104,7 +104,9 @@ Increments in SI seconds like a wall clock. > It uses a 1970 epoch and implements the TAI timescale. > Similar to CLOCK_REALTIME, but without leap seconds. Still .Dv CLOCK_REALTIME would be the right markup.