aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/cp/cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c
index fcc2b7668458..44056058287f 100644
--- a/bin/cp/cp.c
+++ b/bin/cp/cp.c
@@ -211,7 +211,7 @@ main(int argc, char *argv[])
* Case (1). Target is not a directory.
*/
if (argc > 1) {
- usage();
+ warnx("Target is not a directory");
exit(1);
}
/*