git: c9171aec42a5 - stable/14 - inetd: Add missing argument to the -p flag description

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Sat, 13 Jun 2026 12:00:02 UTC
The branch stable/14 has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=c9171aec42a5a039380f987f214e19a4c7256abd

commit c9171aec42a5a039380f987f214e19a4c7256abd
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2026-06-10 15:50:12 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2026-06-13 11:59:51 +0000

    inetd: Add missing argument to the -p flag description
    
    While here, use the more specific "pidfile" consistently instead of
    ambiguous "filename".
    
    Reviewed by:    ziaee
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D57531
    
    (cherry picked from commit 75a94ae7d143a067a7a9eef2a1d2072fbd5044cf)
---
 usr.sbin/inetd/inetd.8 | 6 +++---
 usr.sbin/inetd/inetd.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/usr.sbin/inetd/inetd.8 b/usr.sbin/inetd/inetd.8
index 27d424e08b99..ec5f1f90acc2 100644
--- a/usr.sbin/inetd/inetd.8
+++ b/usr.sbin/inetd/inetd.8
@@ -27,7 +27,7 @@
 .\"
 .\"     from: @(#)inetd.8	8.3 (Berkeley) 4/13/94
 .\"
-.Dd September 29, 2022
+.Dd June 10, 2026
 .Dt INETD 8
 .Os
 .Sh NAME
@@ -40,7 +40,7 @@
 .Op Fl a Ar address
 .Op Fl C Ar rate
 .Op Fl c Ar maximum
-.Op Fl p Ar filename
+.Op Fl p Ar pidfile
 .Op Fl R Ar rate
 .Op Fl s Ar maximum
 .Op Ar configuration_file
@@ -117,7 +117,7 @@ parameter.
 Turn on debugging.
 .It Fl l
 Turn on logging of successful connections.
-.It Fl p
+.It Fl p Ar pidfile
 Specify an alternate file in which to store the process ID.
 .It Fl R Ar rate
 Specify the maximum number of times a service can be invoked
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index 700821588423..dca67012251b 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -393,7 +393,7 @@ main(int argc, char **argv)
 		default:
 			syslog(LOG_ERR,
 				"usage: inetd [-dlWw] [-a address] [-C rate]"
-				" [-c maximum] [-p filename] [-R rate]"
+				" [-c maximum] [-p pidfile] [-R rate]"
 				" [-s maximum] [configuration_file]");
 			exit(EX_USAGE);
 		}