replaces confusing error message at comparing the file suffix (Debian #499445)

This commit is contained in:
Dmitry Smirnov
2013-07-05 15:05:07 +10:00
parent 3949cccc45
commit 26b7d5295f

View File

@@ -18,7 +18,7 @@ Cd *cf_parse(char *name, int *format)
if (UNKNOWN == *format) {
if (UNKNOWN == (*format = cf_format_from_suffix(name))) {
fprintf(stderr, "%s: unknown format\n", name);
fprintf(stderr, "%s: unknown file suffix\n", name);
return NULL;
}
}
@@ -52,7 +52,7 @@ int cf_print(char *name, int *format, Cd *cd)
if (UNKNOWN == *format) {
if (UNKNOWN == (*format = cf_format_from_suffix(name))) {
fprintf(stderr, "%s: unknown format\n", name);
fprintf(stderr, "%s: unknown file suffix\n", name);
return -1;
}
}