[Groonga-commit] groonga/groonga at 5db33ca [master] windows: show also mmap_size

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jun 10 17:27:58 JST 2015


Kouhei Sutou	2015-06-10 17:27:58 +0900 (Wed, 10 Jun 2015)

  New Revision: 5db33caac2efd03150ac9a661d8de4f3422a12ad
  https://github.com/groonga/groonga/commit/5db33caac2efd03150ac9a661d8de4f3422a12ad

  Message:
    windows: show also mmap_size

  Modified files:
    lib/io.c

  Modified: lib/io.c (+4 -2)
===================================================================
--- lib/io.c    2015-06-10 17:26:32 +0900 (fe456da)
+++ lib/io.c    2015-06-10 17:27:58 +0900 (cf84aeb)
@@ -1332,8 +1332,10 @@ grn_mmap_v1(grn_ctx *ctx, HANDLE *fmo, fileinfo *fi, off_t offset, size_t length
   if (!*fmo) {
     SERR("CreateFileMapping");
     GRN_LOG(ctx, GRN_LOG_ERROR,
-            "CreateFileMapping() failed <%lu:%" GRN_FMT_SIZE ">",
-            (DWORD)offset, length);
+            "CreateFileMapping(%lu + %" GRN_FMT_SIZE ") failed "
+            "<%" GRN_FMT_SIZE ">",
+            (DWORD)offset, length,
+            mmap_size);
     return NULL;
   }
   res = MapViewOfFile(*fmo, FILE_MAP_WRITE, 0, (DWORD)offset, (SIZE_T)length);
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index