[Groonga-commit] groonga/groonga [master] [shcema][table-create] fix wrong format specifier.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 12月 19日 (月) 17:06:14 JST


Kouhei Sutou	2011-12-19 08:06:14 +0000 (Mon, 19 Dec 2011)

  New Revision: 2a9fcc6ed8ba587cdcda4fd3b314209018abc757

  Log:
    [shcema][table-create] fix wrong format specifier.
    
    refs #915

  Modified files:
    lib/db.c

  Modified: lib/db.c (+1 -1)
===================================================================
--- lib/db.c    2011-12-19 06:55:19 +0000 (a7c6535)
+++ lib/db.c    2011-12-19 08:06:14 +0000 (933c4de)
@@ -721,7 +721,7 @@ grn_table_create(grn_ctx *ctx, const char *name, unsigned name_size,
         key_size = GRN_TYPE_SIZE(t);
         if (key_size > GRN_TABLE_MAX_KEY_SIZE) {
           ERR(GRN_INVALID_ARGUMENT,
-              "[table][create] key size too big: <%.*s> (%d) (max:%d)",
+              "[table][create] key size too big: <%.*s> (%u) (max:%u)",
               name_size, name, key_size, GRN_TABLE_MAX_KEY_SIZE);
           GRN_API_RETURN(NULL);
         }




Groonga-commit メーリングリストの案内
Back to archive index