summaryrefslogtreecommitdiffstats
path: root/usr.bin/tput/tput.c
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>1997-04-02 10:27:27 +0000
committerjmg <jmg@FreeBSD.org>1997-04-02 10:27:27 +0000
commitbd50d43308fa112e884a8372ec4e691acc984415 (patch)
tree774314a899de01b7d596b0d9ef9007737a0d282f /usr.bin/tput/tput.c
parentcbecc84afb7a69e57be9e1b1c24c15fa49556fc7 (diff)
downloadFreeBSD-src-bd50d43308fa112e884a8372ec4e691acc984415.zip
FreeBSD-src-bd50d43308fa112e884a8372ec4e691acc984415.tar.gz
add comment about the brokeness of some termcap entires that require a
`%' to be just that... make tput just warn about an unknown type modifier instead of breaking... this allows you to `tput init' on a tek4107...
Diffstat (limited to 'usr.bin/tput/tput.c')
-rw-r--r--usr.bin/tput/tput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tput/tput.c b/usr.bin/tput/tput.c
index c1afb31..2eb3e46 100644
--- a/usr.bin/tput/tput.c
+++ b/usr.bin/tput/tput.c
@@ -165,7 +165,7 @@ process(cap, str, argv)
/*
* hpux has lot's of them, but we complain
*/
- errx(2, erresc, *cp, cap);
+ warnx(erresc, *cp, cap);
}
/* And print them. */
OpenPOWER on IntegriCloud