[Groonga-commit] groonga/groonga at 58d7172 [master] Use ERRNO_ERR

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Nov 16 14:46:05 JST 2015


Kouhei Sutou	2015-11-16 14:46:05 +0900 (Mon, 16 Nov 2015)

  New Revision: 58d7172955df6e060bdd28195ce38ef8be9f0cca
  https://github.com/groonga/groonga/commit/58d7172955df6e060bdd28195ce38ef8be9f0cca

  Message:
    Use ERRNO_ERR

  Modified files:
    lib/proc.c

  Modified: lib/proc.c (+1 -1)
===================================================================
--- lib/proc.c    2015-11-16 14:45:32 +0900 (8f2a791)
+++ lib/proc.c    2015-11-16 14:46:05 +0900 (9e2c496)
@@ -115,7 +115,7 @@ grn_bulk_put_from_file(grn_ctx *ctx, grn_obj *bulk, const char *path)
       break;
 #endif /* WIN32 */
     default :
-      ERR(GRN_UNKNOWN_ERROR, "GRN_OPEN() failed(errno: %d): <%s>", errno, path);
+      ERRNO_ERR("failed to open file: <%s>", path);
       break;
     }
     return 0;
-------------- next part --------------
HTML����������������������������...
下載 



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