[Groonga-commit] groonga/groonga at bacc285 [master] Fix format

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Sun May 22 16:50:24 JST 2016


Kouhei Sutou	2016-05-22 16:50:24 +0900 (Sun, 22 May 2016)

  New Revision: bacc285206719c1b73c567a7c618628e7b41f9ae
  https://github.com/groonga/groonga/commit/bacc285206719c1b73c567a7c618628e7b41f9ae

  Message:
    Fix format

  Modified files:
    lib/io.c

  Modified: lib/io.c (+2 -2)
===================================================================
--- lib/io.c    2016-05-22 16:38:06 +0900 (9fae5a4)
+++ lib/io.c    2016-05-22 16:50:24 +0900 (b4ad6f4)
@@ -579,8 +579,8 @@ grn_io_open(grn_ctx *ctx, const char *path, grn_io_mode mode)
     if (s.st_size < sizeof(struct _grn_io_header)) {
       ERR(GRN_INCOMPATIBLE_FILE_FORMAT,
           "[io][open] file size is too small: "
-          "<%" GRN_FMT_SIZE ">(required: >= %" GRN_FMT_SIZE "): <%s>",
-          s.st_size,
+          "<%" GRN_FMT_INT64D ">(required: >= %" GRN_FMT_SIZE "): <%s>",
+          (int64_t)(s.st_size),
           sizeof(struct _grn_io_header),
           path);
       grn_close(fd);
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る