diff options
author | mtm <mtm@FreeBSD.org> | 2003-01-14 16:02:56 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-01-14 16:02:56 +0000 |
commit | 2da153c5bb45b9d849dd9db0ed1e7bd4b90abbba (patch) | |
tree | f8a4d417db6529e3ef3e9f1994e6faf4e46e97c6 /usr.bin/netstat/main.c | |
parent | b5975780a0ec07e1672f8122aefd604a2175e51d (diff) | |
download | FreeBSD-src-2da153c5bb45b9d849dd9db0ed1e7bd4b90abbba.zip FreeBSD-src-2da153c5bb45b9d849dd9db0ed1e7bd4b90abbba.tar.gz |
o Typo/Grammar fixes
o Added mini-function to correctly handle singular/plural
of words ending in 'ly'
Approved by: markm (mentor)
Not objected to by: -audit
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r-- | usr.bin/netstat/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index 6af1ac7..d674227 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -703,6 +703,12 @@ plurales(int n) return (n != 1 ? "es" : ""); } +const char * +pluralies(int n) +{ + return (n != 1 ? "ies" : "y"); +} + /* * Find the protox for the given "well-known" name. */ |