diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-06-23 23:05:13 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-06-23 23:05:13 +0300 |
commit | 04fe7a244ed60968542bcd79ecff222d37768def (patch) | |
tree | 225153dc972c3059dcb69871ca70d6f940ea638d /src | |
parent | 6ff9d9ffedaaa5ecb6cdcf252aedd06cf7627085 (diff) | |
download | wydawca-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')
-rw-r--r-- | src/config.c | 4 | ||||
-rw-r--r-- | src/diskio.c | 2 |
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 @@ -1430,14 +1430,14 @@ static struct grecs_keyword wydawca_kw[] = { void 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 config_init() { int i; diff --git a/src/diskio.c b/src/diskio.c index 09cef96..2e61d49 100644 --- a/src/diskio.c +++ b/src/diskio.c @@ -156,13 +156,13 @@ copy_file (const char *file, const char *dst_file) } out_fd = creat (dst_file, CREAT_PERMISSIONS); 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; } buf = NULL; fsize = st.st_size; |