summaryrefslogtreecommitdiff
path: root/tools/cws2fws.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-05-15 22:17:35 +0200
committerDiego Biurrun <diego@biurrun.de>2011-05-16 20:56:56 +0200
commitc540061f3f552daa3724289b59b0a7a3692ad740 (patch)
treebd7275da32238e3b8343620d96e9f1a08a4540c2 /tools/cws2fws.c
parentd39facc783c270227e5b7c75db3dec406ed19018 (diff)
cws2fws: Improve error message wording.
Diffstat (limited to 'tools/cws2fws.c')
-rw-r--r--tools/cws2fws.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cws2fws.c b/tools/cws2fws.c
index 5fa51470df..b8535feaa4 100644
--- a/tools/cws2fws.c
+++ b/tools/cws2fws.c
@@ -35,14 +35,14 @@ int main(int argc, char *argv[])
fd_in = open(argv[1], O_RDONLY);
if (fd_in < 0)
{
- perror("Error while opening: ");
+ perror("Error opening input file");
exit(1);
}
fd_out = open(argv[2], O_WRONLY|O_CREAT, 00644);
if (fd_out < 0)
{
- perror("Error while opening: ");
+ perror("Error opening output file");
close(fd_in);
exit(1);
}