From 0af144ae9fbeccf92031d8cfb3392e3e775bb1f9 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 2 Mar 1999 04:14:33 +0000 Subject: [PATCH] Improve error message wording when attempting to link to a non-existent file on the local host. PR: 10042 Submitted by: Chris Costello --- usr.bin/fetch/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/fetch/file.c b/usr.bin/fetch/file.c index cad33e72abf1..1bdccc8fdc49 100644 --- a/usr.bin/fetch/file.c +++ b/usr.bin/fetch/file.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: file.c,v 1.3 1997/11/12 04:39:33 obrien Exp $ + * $Id: file.c,v 1.4 1998/09/17 00:15:15 des Exp $ */ #include @@ -109,7 +109,7 @@ file_retrieve(struct fetch_state *fs) if (fs->fs_linkfile) { fs->fs_status = "checking path"; if (stat(fs->fs_proto, &sb) == -1) { - warn("non-unexistent"); + warn("%s", (char *)fs->fs_proto); return EX_NOINPUT; } fs->fs_status = "symlink";