summaryrefslogtreecommitdiff
path: root/usr.bin/write
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-26 10:28:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-26 10:28:23 +0000
commite8a4a99db87d7a271fe06aa64ba749b02f389bc1 (patch)
treee35d4c0681985cdbe7a8b6ef658d26c3b861541a /usr.bin/write
parentec60c7dd19aa387f7465259ca0496d5ffa94e2b5 (diff)
VIS_NOSLASH
Diffstat (limited to 'usr.bin/write')
-rw-r--r--usr.bin/write/write.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/write/write.c b/usr.bin/write/write.c
index 0201c52d891..2be00a91151 100644
--- a/usr.bin/write/write.c
+++ b/usr.bin/write/write.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: write.c,v 1.5 1996/08/26 10:22:11 deraadt Exp $ */
+/* $OpenBSD: write.c,v 1.6 1996/08/26 10:28:20 deraadt Exp $ */
/* $NetBSD: write.c,v 1.5 1995/08/31 21:48:32 jtc Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)write.c 8.2 (Berkeley) 4/27/95";
#endif
-static char *rcsid = "$OpenBSD: write.c,v 1.5 1996/08/26 10:22:11 deraadt Exp $";
+static char *rcsid = "$OpenBSD: write.c,v 1.6 1996/08/26 10:28:20 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -310,7 +310,7 @@ wr_fputs(s)
PUTC('\n');
continue;
}
- vis(visout, c, VIS_SAFE, s[1]);
+ vis(visout, c, VIS_SAFE|VIS_NOSLASH, s[1]);
for (s2 = visout; *s2; s2++)
PUTC(*s2);
}