summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cvs/diff/normal.c
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1998-08-22 20:50:00 +0000
committertholo <tholo@openbsd.org>1998-08-22 20:50:00 +0000
commitb2346922a76a50a89e33beab4ebbc0950de8a8df (patch)
tree35564c117ce351d71d8a9b14880e676b4e7ca09c /gnu/usr.bin/cvs/diff/normal.c
parentChanged warning message from "... keyinit -s" to "... skeyinit -s". (diff)
downloadwireguard-openbsd-b2346922a76a50a89e33beab4ebbc0950de8a8df.tar.xz
wireguard-openbsd-b2346922a76a50a89e33beab4ebbc0950de8a8df.zip
Latest version from Cyclic
Diffstat (limited to 'gnu/usr.bin/cvs/diff/normal.c')
-rw-r--r--gnu/usr.bin/cvs/diff/normal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/cvs/diff/normal.c b/gnu/usr.bin/cvs/diff/normal.c
index 4d9e23cb72a..75dae889930 100644
--- a/gnu/usr.bin/cvs/diff/normal.c
+++ b/gnu/usr.bin/cvs/diff/normal.c
@@ -1,5 +1,5 @@
/* Normal-format output routines for GNU DIFF.
- Copyright (C) 1988, 1989, 1993 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1989, 1993, 1998 Free Software Foundation, Inc.
This file is part of GNU DIFF.
@@ -52,9 +52,9 @@ print_normal_hunk (hunk)
/* Print out the line number header for this hunk */
print_number_range (',', &files[0], first0, last0);
- fprintf (outfile, "%c", change_letter (inserts, deletes));
+ printf_output ("%c", change_letter (inserts, deletes));
print_number_range (',', &files[1], first1, last1);
- fprintf (outfile, "\n");
+ printf_output ("\n");
/* Print the lines that the first file has. */
if (deletes)
@@ -62,7 +62,7 @@ print_normal_hunk (hunk)
print_1_line ("<", &files[0].linbuf[i]);
if (inserts && deletes)
- fprintf (outfile, "---\n");
+ printf_output ("---\n");
/* Print the lines that the second file has. */
if (inserts)