From 33a2ca5a71cd82db583075573e480864a278e269 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 13 Dec 1999 02:58:06 +0000 Subject: [PATCH] dns_journal_print() nor returns DNS_R_NOJOURNAL if the journal does not exist. --- lib/dns/journal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/journal.c b/lib/dns/journal.c index 1b27a1080f..539cb48701 100644 --- a/lib/dns/journal.c +++ b/lib/dns/journal.c @@ -1849,7 +1849,7 @@ dns_journal_print(isc_mem_t *mctx, const char *filename, FILE *file) { result = dns_journal_open(mctx, filename, ISC_FALSE, &j); if (result == DNS_R_NOTFOUND) { isc_log_write(JOURNAL_DEBUG_LOGARGS(3), "no journal file"); - return (DNS_R_NOTFOUND); + return (DNS_R_NOJOURNAL); } if (result != DNS_R_SUCCESS) {