[Groonga-commit] groonga/groonga [master] Fixed a wrong format control string

Back to archive index

null+****@clear***** null+****@clear*****
2012年 1月 19日 (木) 21:11:34 JST


Daijiro MORI	2012-01-19 21:11:34 +0900 (Thu, 19 Jan 2012)

  New Revision: 7cca1677046d1cf8cb438acb50f247bc55377b5a

  Log:
    Fixed a wrong format control string

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+2 -2)
===================================================================
--- lib/ii.c    2012-01-19 20:16:13 +0900 (280cbc5)
+++ lib/ii.c    2012-01-19 21:11:34 +0900 (9d78062)
@@ -6393,7 +6393,7 @@ typedef struct {
   datavec data_vectors[MAX_N_ELEMENTS + 1];
   uint8_t *packed;
   uint32_t packed_len;
-  uint32_t total_chunk_size;
+  uint64_t total_chunk_size;
 } grn_ii_builder;
 
 static void
@@ -6789,7 +6789,7 @@ grn_ii_builder_merge(grn_ctx *ctx, grn_ii_builder *builder)
     grn_table_cursor_close(ctx, tc);
   }
   datavec_fin(ctx, builder->data_vectors);
-  GRN_LOG(ctx, GRN_LOG_NOTICE, "tmpfile_size:%d, total_chunk_size:%d",
+  GRN_LOG(ctx, GRN_LOG_NOTICE, "tmpfile_size:%jd > total_chunk_size:%zu",
           builder->filepos, builder->total_chunk_size);
   close(builder->tmpfd);
   unlink(TMPFILE_PATH);




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