Imported from ../bash-3.0.tar.gz.
[platform/upstream/bash.git] / lib / sh / fmtulong.c
index dc313be..43fdffd 100644 (file)
 #ifdef HAVE_STDINT_H
 #  include <stdint.h>
 #endif
+#ifdef HAVE_INTTYPES_H
+#  include <inttypes.h>
+#endif
 #include <chartypes.h>
 #include <errno.h>
 
+#include <bashintl.h>
+
 #include "stdc.h"
 
 #include <typemax.h>
@@ -93,7 +98,7 @@ fmtulong (ui, base, buf, len, flags)
   if (base < 2 || base > 64)
     {
 #if 1
-      strncpy (buf, "invalid base", len - 1);
+      strncpy (buf, _("invalid base"), len - 1);
       buf[len] = '\0';
       errno = EINVAL;
       return (p = buf);