summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-06-14 04:52:39 +0000
committerbde <bde@FreeBSD.org>1995-06-14 04:52:39 +0000
commitf8e6606128bcc93320771e5556e6c3b9da228444 (patch)
tree70068a004625753d4eb83126f6a1c7363aa9e8e3 /sys/i386
parent6c86108b8d862e5abd9a04f70ba3dc9d044487d0 (diff)
downloadFreeBSD-src-f8e6606128bcc93320771e5556e6c3b9da228444.zip
FreeBSD-src-f8e6606128bcc93320771e5556e6c3b9da228444.tar.gz
Output \n as \r\n, not as \n\r.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/cons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/cons.c b/sys/i386/i386/cons.c
index 1500ff2..7e366d8 100644
--- a/sys/i386/i386/cons.c
+++ b/sys/i386/i386/cons.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
- * $Id: cons.c,v 1.27 1995/04/24 16:42:59 bde Exp $
+ * $Id: cons.c,v 1.28 1995/05/30 07:59:18 rgrimes Exp $
*/
#include <sys/param.h>
@@ -264,9 +264,9 @@ cnputc(c)
if (cn_tab == NULL)
return;
if (c) {
- (*cn_tab->cn_putc)(cn_tab->cn_dev, c);
if (c == '\n')
(*cn_tab->cn_putc)(cn_tab->cn_dev, '\r');
+ (*cn_tab->cn_putc)(cn_tab->cn_dev, c);
}
}
OpenPOWER on IntegriCloud