summaryrefslogtreecommitdiffstats
path: root/lib/libc/nls/msgcat.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-02-14 13:12:03 +0000
committerdim <dim@FreeBSD.org>2015-02-14 13:12:03 +0000
commitff34755926ad8a77e4498e82a23c847d33c6c72d (patch)
tree32512087a8fc0e78759068f074dd1fcac39ef5c9 /lib/libc/nls/msgcat.c
parent3b7b68ffe74f0538bae62b7a4ba4e448156b9542 (diff)
parent1cd0dffdca6542739e3aa4c7e5221f0b28d076c4 (diff)
downloadFreeBSD-src-ff34755926ad8a77e4498e82a23c847d33c6c72d.zip
FreeBSD-src-ff34755926ad8a77e4498e82a23c847d33c6c72d.tar.gz
Merge ^/head r278499 through r278755.
Diffstat (limited to 'lib/libc/nls/msgcat.c')
-rw-r--r--lib/libc/nls/msgcat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/nls/msgcat.c b/lib/libc/nls/msgcat.c
index 2859916..0cba460 100644
--- a/lib/libc/nls/msgcat.c
+++ b/lib/libc/nls/msgcat.c
@@ -83,6 +83,7 @@ __FBSDID("$FreeBSD$");
np->name = strdup(n); \
np->path = NULL; \
np->catd = NLERR; \
+ np->refcount = 0; \
np->lang = (l == NULL) ? NULL : \
strdup(l); \
np->caterrno = e; \
OpenPOWER on IntegriCloud