summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2008-02-27 20:05:00 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2008-02-27 20:05:00 +0000
commit83e35f379b54178770bc8a85dfd871d99cdad24d (patch)
tree0ca85eb386fe3007169eb0432a923df6a2c586fd /usr.bin
parent0a8775ff09f5e0c343ac625a5567dd5b4ced2496 (diff)
Always end line that states diff options with a newline.
ok joris
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/diff.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c
index 02d73ebf55b..41129f63750 100644
--- a/usr.bin/cvs/diff.c
+++ b/usr.bin/cvs/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.129 2008/02/11 20:33:11 tobias Exp $ */
+/* $OpenBSD: diff.c,v 1.130 2008/02/27 20:04:59 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -393,7 +393,8 @@ cvs_diff_local(struct cvs_file *cf)
}
if (diff_rev2 == NULL)
- cvs_printf(" %s\n", cf->file_name);
+ cvs_printf(" %s", cf->file_name);
+ cvs_printf("\n");
} else {
cvs_printf("diff ");
switch (diff_format) {