git: 14ba79255be8 - main - nv.9: Improve style in one of the examples.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Feb 2023 01:00:38 UTC
The branch main has been updated by pjd:
URL: https://cgit.FreeBSD.org/src/commit/?id=14ba79255be8dc07f8ce45d1ee3543ba53fed47a
commit 14ba79255be8dc07f8ce45d1ee3543ba53fed47a
Author: Pawel Jakub Dawidek <pjd@FreeBSD.org>
AuthorDate: 2022-11-07 08:10:16 +0000
Commit: Pawel Jakub Dawidek <pjd@FreeBSD.org>
CommitDate: 2023-02-03 01:00:23 +0000
nv.9: Improve style in one of the examples.
Reviewed by: allanjude, oshogbo
Approved by: allanjude, oshogbo
Differential Revision: https://reviews.freebsd.org/D38287
---
share/man/man9/nv.9 | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/share/man/man9/nv.9 b/share/man/man9/nv.9
index c80e70116d67..0da7251c7993 100644
--- a/share/man/man9/nv.9
+++ b/share/man/man9/nv.9
@@ -29,7 +29,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 19, 2018
+.Dd February 2, 2023
.Dt NV 9
.Os
.Sh NAME
@@ -933,8 +933,7 @@ do {
nvl = tmp;
while ((name = nvlist_next(nvl, &type, &cookie)) != NULL) {
if (type == NV_TYPE_NVLIST) {
- nvl = nvlist_get_nvlist(nvl,
- name);
+ nvl = nvlist_get_nvlist(nvl, name);
cookie = NULL;
} else if (type == NV_TYPE_NVLIST_ARRAY) {
nvl = nvlist_get_nvlist_array(nvl, name,