Fix error message in merge.
authormdw <mdw>
Tue, 13 Sep 2005 16:56:02 +0000 (16:56 +0000)
committermdw <mdw>
Tue, 13 Sep 2005 16:56:02 +0000 (16:56 +0000)
keyutil.c

index 1ead08d..3be95b3 100644 (file)
--- a/keyutil.c
+++ b/keyutil.c
@@ -1989,7 +1989,7 @@ static int cmd_merge(int argc, char *argv[])
   if (strcmp(argv[1], "-") == 0)
     fp = stdin;
   else if (!(fp = fopen(argv[1], "r"))) {
-    die(EXIT_FAILURE, "couldn't open `%s' for writing: %s",
+    die(EXIT_FAILURE, "couldn't open `%s' for reading: %s",
        argv[1], strerror(errno));
   }