From 9404c74f6c7843b012abf90228de7908fba1093a Mon Sep 17 00:00:00 2001 From: green Date: Fri, 11 Jul 2003 02:19:19 +0000 Subject: If we must yell at the user than a file cannot be linked into place when requested (not required) to do it, reassure them that cpio is still intelligent enough that it will perform a full copy instead. --- contrib/cpio/copypass.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/cpio/copypass.c b/contrib/cpio/copypass.c index 9c27ac5..993d720 100644 --- a/contrib/cpio/copypass.c +++ b/contrib/cpio/copypass.c @@ -1,3 +1,4 @@ +/* $FreeBSD$ */ /* copypass.c - cpio copy pass sub-function. Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc. @@ -466,7 +467,7 @@ link_to_name (link_name, link_target) } else if (link_flag) { - error (0, errno, "cannot link %s to %s", + error (0, errno, "cannot link %s to %s (will copy instead)", link_target, link_name); } #endif /* not __MSDOS__ */ -- cgit v1.1