]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Fix error message when chronyc can't open keyfile
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 21 Jan 2014 13:51:32 +0000 (14:51 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 21 Jan 2014 13:51:32 +0000 (14:51 +0100)
client.c

index 95e68412f584a3fd744a6ae62e017c6eff9a9b12..8ce3f45718e1497f34db098e78c7f4479520aad8 100644 (file)
--- a/client.c
+++ b/client.c
@@ -2579,7 +2579,7 @@ authenticate_from_config(const char *filename)
 
   in = fopen(keyfile, "r");
   if (!in) {
-    fprintf(stderr, "Could not open keyfile %s\n", filename);
+    fprintf(stderr, "Could not open keyfile %s\n", keyfile);
     return 0;
   }