summaryrefslogtreecommitdiff
path: root/debug/wcstombs_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/wcstombs_chk.c')
-rw-r--r--debug/wcstombs_chk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/wcstombs_chk.c b/debug/wcstombs_chk.c
index f5f51a0c11..0da48f9803 100644
--- a/debug/wcstombs_chk.c
+++ b/debug/wcstombs_chk.c
@@ -32,5 +32,5 @@ __wcstombs_chk (char *dst, __const wchar_t *src, size_t len, size_t dstlen)
memset (&state, '\0', sizeof state);
/* Return how many we wrote (or maybe an error). */
- return __wcsrtombs (dst, src, len, &state);
+ return __wcsrtombs (dst, &src, len, &state);
}