summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-12-07 18:23:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-12-07 18:23:30 +0000
commitc965f465c409af381886b25cd783551fd0cd53b3 (patch)
tree9f4696f587fdfaf44bb242c0f60cda454f418be4
parent1d49c78aac796b197419f21f61e2b53ff3c7fd66 (diff)
fix [:print:]
-rw-r--r--usr.bin/tr/str.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tr/str.c b/usr.bin/tr/str.c
index f7aa9462880..b68e7b7552e 100644
--- a/usr.bin/tr/str.c
+++ b/usr.bin/tr/str.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: str.c,v 1.4 1997/07/25 21:14:04 mickey Exp $ */
+/* $OpenBSD: str.c,v 1.5 1998/12/07 18:23:29 deraadt Exp $ */
/* $NetBSD: str.c,v 1.7 1995/08/31 22:13:47 jtc Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)str.c 8.2 (Berkeley) 4/28/95";
#endif
-static char rcsid[] = "$OpenBSD: str.c,v 1.4 1997/07/25 21:14:04 mickey Exp $";
+static char rcsid[] = "$OpenBSD: str.c,v 1.5 1998/12/07 18:23:29 deraadt Exp $";
#endif /* not lint */
#include <sys/cdefs.h>
@@ -167,7 +167,7 @@ static CLASS classes[] = {
{ "digit", isdigit, },
{ "graph", isgraph, },
{ "lower", islower, },
- { "print", isupper, },
+ { "print", isprint, },
{ "punct", ispunct, },
{ "space", isspace, },
{ "upper", isupper, },