diff options
Diffstat (limited to 'lib/libc/nls')
| -rw-r--r-- | lib/libc/nls/msgcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/nls/msgcat.c b/lib/libc/nls/msgcat.c index 55ed59ba64f9..4d446184eafd 100644 --- a/lib/libc/nls/msgcat.c +++ b/lib/libc/nls/msgcat.c @@ -160,7 +160,7 @@ catopen(name, type) put_tmpptr: spcleft = sizeof(path) - (pathP - path) - 1; - if (_strlcpy(pathP, tmpptr, spcleft) >= + if (strlcpy(pathP, tmpptr, spcleft) >= spcleft) { too_long: free(plang); |
