Navigation Menu

Skip to content

Commit

Permalink
Fix a bug that wrong argument is reported
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 18, 2015
1 parent ea62d52 commit fe30cff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/tokenizers/mecab.c
Expand Up @@ -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());
}
Expand Down

0 comments on commit fe30cff

Please sign in to comment.