OSDN Git Service

cws2fws: Improve error message wording.
authorDiego Biurrun <diego@biurrun.de>
Sun, 15 May 2011 20:17:35 +0000 (22:17 +0200)
committerDiego Biurrun <diego@biurrun.de>
Mon, 16 May 2011 18:56:56 +0000 (20:56 +0200)
tools/cws2fws.c

index 5fa5147..b8535fe 100644 (file)
@@ -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);
     }