summaryrefslogtreecommitdiffstats
path: root/usr.bin/xinstall
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2015-07-18 15:42:37 +0000
committerjasper <jasper@openbsd.org>2015-07-18 15:42:37 +0000
commit0c702125c34c6d800b6a721f0456b6cf2a46dff8 (patch)
tree4b93bead437fa56cc18a3e1b96ba09fb6fc40f91 /usr.bin/xinstall
parentIf _CST provides a C2 or C3 but lacks a C1 that we understand, provide a (diff)
downloadwireguard-openbsd-0c702125c34c6d800b6a721f0456b6cf2a46dff8.tar.xz
wireguard-openbsd-0c702125c34c6d800b6a721f0456b6cf2a46dff8.zip
kill trailing whitespace
Diffstat (limited to 'usr.bin/xinstall')
-rw-r--r--usr.bin/xinstall/xinstall.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c
index b88c5ee21e3..2084ab20834 100644
--- a/usr.bin/xinstall/xinstall.c
+++ b/usr.bin/xinstall/xinstall.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xinstall.c,v 1.60 2015/07/18 14:32:36 jasper Exp $ */
+/* $OpenBSD: xinstall.c,v 1.61 2015/07/18 15:42:37 jasper Exp $ */
/* $NetBSD: xinstall.c,v 1.9 1995/12/20 10:25:17 jonathan Exp $ */
/*
@@ -352,7 +352,7 @@ install(char *from_name, char *to_name, u_long fset, u_int flags)
fchown(to_fd, uid, gid)) {
serrno = errno;
(void)unlink(safecopy ? tempfile : to_name);
- errx(EX_OSERR, "%s: chown/chgrp: %s",
+ errx(EX_OSERR, "%s: chown/chgrp: %s",
safecopy ? tempfile : to_name, strerror(serrno));
}
if (fchmod(to_fd, mode)) {
@@ -369,7 +369,7 @@ install(char *from_name, char *to_name, u_long fset, u_int flags)
if (fchflags(to_fd,
flags & SETFLAGS ? fset : from_sb.st_flags & ~UF_NODUMP)) {
if (errno != EOPNOTSUPP || (from_sb.st_flags & ~UF_NODUMP) != 0)
- warnx("%s: chflags: %s",
+ warnx("%s: chflags: %s",
safecopy ? tempfile :to_name, strerror(errno));
}