Pass errret pointer to setupterm() to prevent setupterm()
authormillert <millert@openbsd.org>
Fri, 8 Jul 2016 15:23:44 +0000 (15:23 +0000)
committermillert <millert@openbsd.org>
Fri, 8 Jul 2016 15:23:44 +0000 (15:23 +0000)
commite3776734897f34385dc7a42b7f1542a9a6063039
tree3a81e37d8170fcf4350cb31d8b8e2da86091994c
parentee730484fcc4d0bb60f681a9a47565679740ef11
Pass errret pointer to setupterm() to prevent setupterm()
from calling exit() when given an unknown terminal type.
From Anton Lindqvist, who also upstreamed the fix.
usr.bin/less/screen.c