X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-restore.c;h=9a8b7fb59b8c50e35cbf6c32fd6dc375c3dbf465;hp=4b509d95ba003dd4342d2bd74ed47c67d4bca6d8;hb=2c1f783f5f4ad28d89f2e83d7253bae7bba98440;hpb=d50f41c0fd0bbd2ca2b364f49deaea8be63dff3c diff --git a/notmuch-restore.c b/notmuch-restore.c index 4b509d95..9a8b7fb5 100644 --- a/notmuch-restore.c +++ b/notmuch-restore.c @@ -450,7 +450,7 @@ notmuch_restore_command (notmuch_config_t *config, int argc, char *argv[]) if (input && gzclose_r (input)) { fprintf (stderr, "Error closing %s: %s\n", - name_for_error, gzerror (input, NULL)); + name_for_error, gzerror_str (input)); ret = EXIT_FAILURE; }