From 04fe7a244ed60968542bcd79ecff222d37768def Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 23 Jun 2011 23:05:13 +0300 Subject: Bugfixes. * grecs: Update. * src/config.c (config_help): Use grecs_print_* functions. * src/diskio.c (copy_file): Fix diagnostic message. * tests/backup00.at: Forgotten to commit :( --- src/config.c | 4 ++-- src/diskio.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/config.c b/src/config.c index 6101ad8..43be903 100644 --- a/src/config.c +++ b/src/config.c @@ -1433,8 +1433,8 @@ config_help () static char docstring[] = N_("Configuration file structure for wydawca.\n" "For more information, use `info wydawca configuration'."); - grecs_format_docstring (docstring, 0, stdout); - grecs_format_statement_array (wydawca_kw, 1, 0, stdout); + grecs_print_docstring (docstring, 0, stdout); + grecs_print_statement_array (wydawca_kw, 1, 0, stdout); } void diff --git a/src/diskio.c b/src/diskio.c index 09cef96..2e61d49 100644 --- a/src/diskio.c +++ b/src/diskio.c @@ -159,7 +159,7 @@ copy_file (const char *file, const char *dst_file) if (out_fd == -1) { logmsg (LOG_ERR, _("cannot create destination file %s: %s"), - file, strerror (errno)); + dst_file, strerror (errno)); close (in_fd); return 1; } -- cgit v1.2.1