summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorMike Makonnen <mtm@FreeBSD.org>2003-01-14 16:02:56 +0000
committerMike Makonnen <mtm@FreeBSD.org>2003-01-14 16:02:56 +0000
commitf99a4046d83609160b00d895b2a6a91dfc57e9dd (patch)
treef8a4d417db6529e3ef3e9f1994e6faf4e46e97c6 /usr.bin/netstat/main.c
parent69808e534d71bbc5637cf6968235f4f84c114a07 (diff)
Notes
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r--usr.bin/netstat/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index 6af1ac703798..d674227efc52 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.
*/