diff options
Diffstat (limited to 'common/t-ssh-utils.c')
-rw-r--r-- | common/t-ssh-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/t-ssh-utils.c b/common/t-ssh-utils.c index a8a63cf73..5a7623331 100644 --- a/common/t-ssh-utils.c +++ b/common/t-ssh-utils.c @@ -120,14 +120,14 @@ read_file (const char *fname, size_t *r_length) fp = fopen (fname, "rb"); if (!fp) { - fprintf (stderr, "%s:%d: can't open `%s': %s\n", + fprintf (stderr, "%s:%d: can't open '%s': %s\n", __FILE__, __LINE__, fname, strerror (errno)); exit (1); } if (fstat (fileno(fp), &st)) { - fprintf (stderr, "%s:%d: can't stat `%s': %s\n", + fprintf (stderr, "%s:%d: can't stat '%s': %s\n", __FILE__, __LINE__, fname, strerror (errno)); exit (1); } @@ -136,7 +136,7 @@ read_file (const char *fname, size_t *r_length) buf = xmalloc (buflen+1); if (fread (buf, buflen, 1, fp) != 1) { - fprintf (stderr, "%s:%d: error reading `%s': %s\n", + fprintf (stderr, "%s:%d: error reading '%s': %s\n", __FILE__, __LINE__, fname, strerror (errno)); exit (1); } |