aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ypwhich
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2015-07-28 02:32:40 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2015-07-28 02:32:40 +0000
commit033af09de113cdcba4b72685dd5311fffb1025c5 (patch)
tree474a3116b16d6874dad78ef520947dc99f16dd88 /usr.bin/ypwhich
parent267dbe63a1dfb8e05eae5f1fad1ed7cc5f7b4b27 (diff)
downloadsrc-033af09de113cdcba4b72685dd5311fffb1025c5.tar.gz
src-033af09de113cdcba4b72685dd5311fffb1025c5.zip
Notes
Diffstat (limited to 'usr.bin/ypwhich')
-rw-r--r--usr.bin/ypwhich/ypwhich.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ypwhich/ypwhich.c b/usr.bin/ypwhich/ypwhich.c
index b31dcae2cb6c..d02461ebafb9 100644
--- a/usr.bin/ypwhich/ypwhich.c
+++ b/usr.bin/ypwhich/ypwhich.c
@@ -59,9 +59,9 @@ __FBSDID("$FreeBSD$");
extern bool_t xdr_domainname();
-struct ypalias {
+const struct ypalias {
char *alias, *name;
-} ypaliases[] = {
+} static ypaliases[] = {
{ "passwd", "passwd.byname" },
{ "master.passwd", "master.passwd.byname" },
{ "shadow", "shadow.byname" },