[Groonga-commit] groonga/groonga at fe30cff [master] Fix a bug that wrong argument is reported

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Oct 18 10:13:39 JST 2015


Kouhei Sutou	2015-10-18 10:13:39 +0900 (Sun, 18 Oct 2015)

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

  Message:
    Fix a bug that wrong argument is reported

  Modified files:
    plugins/tokenizers/mecab.c

  Modified: plugins/tokenizers/mecab.c (+3 -3)
===================================================================
--- plugins/tokenizers/mecab.c    2015-10-17 23:59:40 +0900 (482ae0f)
+++ plugins/tokenizers/mecab.c    2015-10-18 10:13:39 +0900 (9057778)
@@ -307,14 +307,14 @@ mecab_create(grn_ctx *ctx)
     GRN_PLUGIN_ERROR(ctx, GRN_TOKENIZER_ERROR,
                      "[tokenizer][mecab] "
                      "failed to create mecab_t: mecab_new("
-                     "\"%s\""
+                     "\"%s\", \"%s\""
 #ifdef GRN_WITH_BUNDLED_MECAB
                      ", \"%s\", \"%s\""
 #endif /* GRN_WITH_BUNDLED_MECAB */
                      "): %s",
-                     argv[0],
+                     argv[0], argv[1],
 #ifdef GRN_WITH_BUNDLED_MECAB
-                     argv[1], argv[2],
+                     argv[2], argv[3],
 #endif /* GRN_WITH_BUNDLED_MECAB */
                      mecab_global_error_message());
   }
-------------- next part --------------
HTML����������������������������...
Download 



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