aboutsummaryrefslogtreecommitdiff
path: root/bin/ed/io.c
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1996-05-23 06:36:34 +0000
committerThomas Gellekum <tg@FreeBSD.org>1996-05-23 06:36:34 +0000
commitde64b714f87f813d9adceffcd47b598050ca9283 (patch)
tree83a7d9481274ba7e5858421b746f3d16ac772168 /bin/ed/io.c
parent99ea1af0a68574359192131b5ecd4eafd160494f (diff)
Notes
Diffstat (limited to 'bin/ed/io.c')
-rw-r--r--bin/ed/io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ed/io.c b/bin/ed/io.c
index 1072d06b7a009..99e832acbb7b7 100644
--- a/bin/ed/io.c
+++ b/bin/ed/io.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: io.c,v 1.3 1994/09/24 02:55:27 davidg Exp $
+ * $Id: io.c,v 1.4 1995/03/19 13:28:32 joerg Exp $
*/
#ifndef lint
@@ -58,7 +58,7 @@ read_file(fn, n)
sprintf(errmsg, "cannot close input file");
return ERR;
}
- fprintf(stderr, !scripted ? "%lu\n" : "", size);
+ fprintf(stdout, !scripted ? "%lu\n" : "", size);
return current_addr - n;
}
@@ -173,7 +173,7 @@ write_file(fn, mode, n, m)
sprintf(errmsg, "cannot close output file");
return ERR;
}
- fprintf(stderr, !scripted ? "%lu\n" : "", size);
+ fprintf(stdout, !scripted ? "%lu\n" : "", size);
return n ? m - n + 1 : 0;
}