summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2006-03-06 13:49:24 +0000
committerxsa <xsa@openbsd.org>2006-03-06 13:49:24 +0000
commitc986bcfa2f57fbf1d92ca1eae79c46b5b82109b0 (patch)
tree8abb99b58c0b11da849caf915776d2a6fb734444
parentmissing newline in checkout_rev(); spotted by joris@. (diff)
downloadwireguard-openbsd-c986bcfa2f57fbf1d92ca1eae79c46b5b82109b0.tar.xz
wireguard-openbsd-c986bcfa2f57fbf1d92ca1eae79c46b5b82109b0.zip
should also have removed those newlines in previous commit.
-rw-r--r--usr.bin/rcs/co.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/co.c b/usr.bin/rcs/co.c
index f0165cbb494..3835ea73cf3 100644
--- a/usr.bin/rcs/co.c
+++ b/usr.bin/rcs/co.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: co.c,v 1.56 2006/03/06 13:47:34 xsa Exp $ */
+/* $OpenBSD: co.c,v 1.57 2006/03/06 13:49:24 xsa Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -312,7 +312,7 @@ checkout_rev(RCSFILE *file, RCSNUM *frev, const char *dst, int flags,
mode = 0644;
if ((verbose == 1) && !(flags & NEWFILE))
- printf(" (locked)\n");
+ printf(" (locked)");
} else if (flags & CO_UNLOCK) {
if (rcs_lock_remove(file, lockname, frev) < 0) {
if (rcs_errno != RCS_ERR_NOENT)
@@ -321,7 +321,7 @@ checkout_rev(RCSFILE *file, RCSNUM *frev, const char *dst, int flags,
mode = 0444;
if ((verbose == 1) && !(flags & NEWFILE))
- printf(" (unlocked)\n");
+ printf(" (unlocked)");
}
if ((verbose == 1) && !(flags & NEWFILE))