diff options
| author | Jacques Vidrine <nectar@FreeBSD.org> | 2003-05-01 19:03:14 +0000 |
|---|---|---|
| committer | Jacques Vidrine <nectar@FreeBSD.org> | 2003-05-01 19:03:14 +0000 |
| commit | d05090827f0e5b95cc7d2bcdde8b3b4e0f986241 (patch) | |
| tree | 736595316c161b3d1ae559f331feaa6ba12b500e /lib/libc/nls/msgcat.c | |
| parent | 9501b60383bd4123b406e604b1fbe8108778c634 (diff) | |
Notes
Diffstat (limited to 'lib/libc/nls/msgcat.c')
| -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); |
