浏览代码

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

master
Dmitry Smirnov 11 年前
父节点
当前提交
26b7d5295f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/lib/cuefile.c

+ 2
- 2
src/lib/cuefile.c 查看文件

@@ -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;
}
}


正在加载...
取消
保存