]> git.saurik.com Git - apple/libc.git/blobdiff - locale/FreeBSD/lmessages.c
Libc-498.tar.gz
[apple/libc.git] / locale / FreeBSD / lmessages.c
index 364beab518d8d9813481a6d9212849ca8d5a5c02..488b5728c332fdc2e8952cd8c1e921ebaddb8951 100644 (file)
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/lib/libc/locale/lmessages.c,v 1.12 2002/08/08 05:51:54 ache Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/locale/lmessages.c,v 1.14 2003/06/26 10:46:16 phantom Exp $");
 
 #include <stddef.h>
 
-#include "lmessages.h"
 #include "ldpart.h"
+#include "lmessages.h"
 
 #define LCMESSAGES_SIZE_FULL (sizeof(struct lc_messages_T) / sizeof(char *))
 #define LCMESSAGES_SIZE_MIN \
@@ -55,7 +55,7 @@ __messages_load_locale(const char *name)
        int ret;
 
        ret = __part_load_locale(name, &_messages_using_locale,
-                 _messages_locale_buf, "LC_MESSAGES",
+                 &_messages_locale_buf, "LC_MESSAGES",
                  LCMESSAGES_SIZE_FULL, LCMESSAGES_SIZE_MIN,
                  (const char **)&_messages_locale);
        if (ret == _LDP_LOADED) {