diff options
Diffstat (limited to 'tests/storage/test_phrase_table.cpp')
-rw-r--r-- | tests/storage/test_phrase_table.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/storage/test_phrase_table.cpp b/tests/storage/test_phrase_table.cpp index 66ed060..c81b472 100644 --- a/tests/storage/test_phrase_table.cpp +++ b/tests/storage/test_phrase_table.cpp @@ -28,7 +28,7 @@ int main(int argc, char * argv[]){ FILE * gbfile = fopen("../../data/gb_char.table", "r"); if ( gbfile == NULL ) { - printf("open gb_char.table failed!\n"); + fprintf(stderr, "open gb_char.table failed!\n"); return 1; } @@ -37,7 +37,7 @@ int main(int argc, char * argv[]){ FILE * gbkfile = fopen("../../data/gbk_char.table", "r"); if (gbkfile == NULL ) { - printf("open gbk_char.table failed!\n"); + fprintf(stderr, "open gbk_char.table failed!\n"); return 1; } |