diff options
author | alex <alex@FreeBSD.org> | 1999-03-02 04:14:33 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 1999-03-02 04:14:33 +0000 |
commit | 0af144ae9fbeccf92031d8cfb3392e3e775bb1f9 (patch) | |
tree | 8db628b741b3d0ae95def576193e9c48f91a4484 /usr.bin/fetch | |
parent | 421edf71f1c11fc1f4e4eebde19e73440f5ebcb4 (diff) | |
download | FreeBSD-src-0af144ae9fbeccf92031d8cfb3392e3e775bb1f9.zip FreeBSD-src-0af144ae9fbeccf92031d8cfb3392e3e775bb1f9.tar.gz |
Improve error message wording when attempting to link to a non-existent
file on the local host.
PR: 10042
Submitted by: Chris Costello <phoenix@calldei.com>
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r-- | usr.bin/fetch/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fetch/file.c b/usr.bin/fetch/file.c index cad33e7..1bdccc8 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 <sys/types.h> @@ -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"; |