mirror of https://git.ffmpeg.org/ffmpeg.git
cws2fws: Improve error message wording.
This commit is contained in:
parent
d39facc783
commit
c540061f3f
|
@ -35,14 +35,14 @@ int main(int argc, char *argv[])
|
||||||
fd_in = open(argv[1], O_RDONLY);
|
fd_in = open(argv[1], O_RDONLY);
|
||||||
if (fd_in < 0)
|
if (fd_in < 0)
|
||||||
{
|
{
|
||||||
perror("Error while opening: ");
|
perror("Error opening input file");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
fd_out = open(argv[2], O_WRONLY|O_CREAT, 00644);
|
fd_out = open(argv[2], O_WRONLY|O_CREAT, 00644);
|
||||||
if (fd_out < 0)
|
if (fd_out < 0)
|
||||||
{
|
{
|
||||||
perror("Error while opening: ");
|
perror("Error opening output file");
|
||||||
close(fd_in);
|
close(fd_in);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue