summaryrefslogtreecommitdiffstats
path: root/bin/cp/cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cp/cp.c')
-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 ba79018..2e17f75 100644
--- a/bin/cp/cp.c
+++ b/bin/cp/cp.c
@@ -267,7 +267,7 @@ copy(char *argv[], enum op type, int fts_options)
umask(~mask);
if ((ftsp = fts_open(argv, fts_options, mastercmp)) == NULL)
- err(1, NULL);
+ err(1, "fts_open");
for (badcp = rval = 0; (curr = fts_read(ftsp)) != NULL; badcp = 0) {
switch (curr->fts_info) {
case FTS_NS:
OpenPOWER on IntegriCloud