diff options
Diffstat (limited to 'locale/duplocale.c')
-rw-r--r-- | locale/duplocale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/duplocale.c b/locale/duplocale.c index f22c4dee95..7b188efc6d 100644 --- a/locale/duplocale.c +++ b/locale/duplocale.c @@ -38,7 +38,7 @@ __duplocale (__locale_t dataset) __libc_lock_lock (__libc_setlocale_lock); /* Get memory. */ - result = (__locale_t) malloc (sizeof (struct __locale_t)); + result = (__locale_t) malloc (sizeof (struct __locale_struct)); if (result != NULL) { int cnt; |