TD-1057 minor changes

This commit is contained in:
Shengliang Guan 2020-08-11 18:35:01 +08:00
parent ad4157d2ba
commit 2bd372877b
1 changed files with 2 additions and 2 deletions

View File

@ -743,7 +743,7 @@ void read_history() {
FILE *f = fopen(f_history, "r");
if (f == NULL) {
fprintf(stderr, "Opening file %s\n", f_history);
fprintf(stderr, "Failed to open file %s\n", f_history);
return;
}
@ -768,7 +768,7 @@ void write_history() {
FILE *f = fopen(f_history, "w");
if (f == NULL) {
fprintf(stderr, "Opening file %s\n", f_history);
fprintf(stderr, "Failed to open file %s for write\n", f_history);
return;
}