summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org.ua>2011-06-23 20:05:13 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-06-23 20:05:13 (GMT)
commit04fe7a244ed60968542bcd79ecff222d37768def (patch) (side-by-side diff)
tree225153dc972c3059dcb69871ca70d6f940ea638d /src
parent6ff9d9ffedaaa5ecb6cdcf252aedd06cf7627085 (diff)
downloadwydawca-04fe7a244ed60968542bcd79ecff222d37768def.tar.gz
wydawca-04fe7a244ed60968542bcd79ecff222d37768def.tar.bz2
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 :(
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/config.c4
-rw-r--r--src/diskio.c2
2 files changed, 3 insertions, 3 deletions
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;
}

Return to:

Send suggestions and report system problems to the System administrator.