summaryrefslogtreecommitdiff
path: root/hostfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'hostfile.c')
-rw-r--r--hostfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hostfile.c b/hostfile.c
index 96ab880d4..4a0349a60 100644
--- a/hostfile.c
+++ b/hostfile.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: hostfile.c,v 1.76 2019/07/07 01:05:00 dtucker Exp $ */ 1/* $OpenBSD: hostfile.c,v 1.77 2020/01/25 00:21:08 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -566,6 +566,7 @@ hostfile_replace_entries(const char *filename, const char *host, const char *ip,
566 /* Remove all entries for the specified host from the file */ 566 /* Remove all entries for the specified host from the file */
567 if ((r = hostkeys_foreach(filename, host_delete, &ctx, host, ip, 567 if ((r = hostkeys_foreach(filename, host_delete, &ctx, host, ip,
568 HKF_WANT_PARSE_KEY)) != 0) { 568 HKF_WANT_PARSE_KEY)) != 0) {
569 oerrno = errno;
569 error("%s: hostkeys_foreach failed: %s", __func__, ssh_err(r)); 570 error("%s: hostkeys_foreach failed: %s", __func__, ssh_err(r));
570 goto fail; 571 goto fail;
571 } 572 }