diff options
Diffstat (limited to 'source4/heimdal/lib/roken/strerror_r.c')
-rw-r--r-- | source4/heimdal/lib/roken/strerror_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/heimdal/lib/roken/strerror_r.c b/source4/heimdal/lib/roken/strerror_r.c index 5155c28cb5..85271ecaf5 100644 --- a/source4/heimdal/lib/roken/strerror_r.c +++ b/source4/heimdal/lib/roken/strerror_r.c @@ -72,7 +72,7 @@ rk_strerror_r(int eno, char *strerrbuf, size_t buflen) return 0; #else int ret; - ret = strlcpy(strerrbuf, buflen, strerror(eno)); + ret = strlcpy(strerrbuf, strerror(eno), buflen); if (ret > buflen) return ERANGE; return 0; |