[Groonga-commit] groonga/groonga at 306882a [master] Improve error message

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Sep 15 12:52:35 JST 2017


Kouhei Sutou	2017-09-15 12:52:35 +0900 (Fri, 15 Sep 2017)

  New Revision: 306882abb77a2e12efd479ec3fc9782d950b980b
  https://github.com/groonga/groonga/commit/306882abb77a2e12efd479ec3fc9782d950b980b

  Message:
    Improve error message

  Modified files:
    lib/io.c

  Modified: lib/io.c (+4 -2)
===================================================================
--- lib/io.c    2017-09-15 12:46:58 +0900 (4dc0e0172)
+++ lib/io.c    2017-09-15 12:52:35 +0900 (5dbd7d80e)
@@ -1232,9 +1232,11 @@ grn_io_seg_map_(grn_ctx *ctx, grn_io *io, uint32_t segno, grn_io_mapinfo *info)
         if (!info->map && !path_exist) {
           if (grn_unlink(path) == 0) {
             GRN_LOG(ctx, GRN_LOG_INFO,
-                    "[io][map][error] removed empty file: <%s>", path);
+                    "[io][map][error] memory mapping is failed and then "
+                    "removed created map file: <%s>", path);
           } else {
-            ERRNO_ERR("[io][map][error] failed to remove empty file: <%s>", path);
+            ERRNO_ERR("[io][map][error] memory mapping is failed and then "
+                      "failed to remove created map file: <%s>", path);
           }
         }
       }
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20170915/b8f68739/attachment-0001.htm 



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