summaryrefslogtreecommitdiffstats
path: root/tests/storage/test_phrase_index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/storage/test_phrase_index.cpp')
-rw-r--r--tests/storage/test_phrase_index.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/storage/test_phrase_index.cpp b/tests/storage/test_phrase_index.cpp
index 12cc398..b48d92c 100644
--- a/tests/storage/test_phrase_index.cpp
+++ b/tests/storage/test_phrase_index.cpp
@@ -93,7 +93,7 @@ int main(int argc, char * argv[]){
FILE* infile = fopen("../../data/gb_char.table", "r");
if ( NULL == infile ){
- printf("open gb_char.table failed!\n");
+ fprintf(stderr, "open gb_char.table failed!\n");
exit(ENOENT);
}
@@ -102,7 +102,7 @@ int main(int argc, char * argv[]){
infile = fopen("../../data/gbk_char.table", "r");
if ( NULL == infile ){
- printf("open gbk_char.table failed!\n");
+ fprintf(stderr, "open gbk_char.table failed!\n");
exit(ENOENT);
}