summaryrefslogtreecommitdiff
path: root/bin/cp
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2017-06-27 21:49:48 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2017-06-27 21:49:48 +0000
commitc714f9c8e98b1fef998e8ecee2829a9b46eef3ac (patch)
treebbb2a7b3ecd715772d25ae208afc5cfb83a055ee /bin/cp
parent7169c492918dcafdc3ea004051d9aa8b4c39932e (diff)
fix a few lines of unusual length
Diffstat (limited to 'bin/cp')
-rw-r--r--bin/cp/cp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c
index f999dc789d6..532edbb5ba7 100644
--- a/bin/cp/cp.c
+++ b/bin/cp/cp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cp.c,v 1.45 2017/06/27 21:43:46 tedu Exp $ */
+/* $OpenBSD: cp.c,v 1.46 2017/06/27 21:49:47 tedu Exp $ */
/* $NetBSD: cp.c,v 1.14 1995/09/07 06:14:51 jtc Exp $ */
/*
@@ -430,7 +430,8 @@ copy(char *argv[], enum op type, int fts_options)
case S_IFBLK:
case S_IFCHR:
if (Rflag) {
- if (copy_special(curr->fts_statp, !fts_dne(curr)))
+ if (copy_special(curr->fts_statp,
+ !fts_dne(curr)))
rval = 1;
} else
if (copy_file(curr, fts_dne(curr)))
@@ -458,7 +459,7 @@ copy(char *argv[], enum op type, int fts_options)
rval = 1;
else if (vflag)
(void)fprintf(stdout, "%s -> %s\n",
- curr->fts_path, to.p_path);
+ curr->fts_path, to.p_path);
break;
}
}