summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2003-07-11 02:19:19 +0000
committergreen <green@FreeBSD.org>2003-07-11 02:19:19 +0000
commit9404c74f6c7843b012abf90228de7908fba1093a (patch)
tree775ff54a6ee2357bec8412f4d08af5bb57738e92
parent69c0c7844396de452ddf7c65abc75caf2fc91bb2 (diff)
downloadFreeBSD-src-9404c74f6c7843b012abf90228de7908fba1093a.zip
FreeBSD-src-9404c74f6c7843b012abf90228de7908fba1093a.tar.gz
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.
-rw-r--r--contrib/cpio/copypass.c3
1 files changed, 2 insertions, 1 deletions
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__ */
OpenPOWER on IntegriCloud