diff options
Diffstat (limited to 'usr.bin/tset/set.c')
-rw-r--r-- | usr.bin/tset/set.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tset/set.c b/usr.bin/tset/set.c index b279a1c..0b6c0a0 100644 --- a/usr.bin/tset/set.c +++ b/usr.bin/tset/set.c @@ -241,9 +241,10 @@ set_init() int settle; bp = buf; +#ifndef __FreeBSD__ if (tgetstr("pc", &bp) != 0) /* Get/set pad character. */ PC = buf[0]; - +#endif #ifdef TAB3 if (oldmode.c_oflag & (TAB3 | ONLCR | OCRNL | ONLRET)) { oldmode.c_oflag &= (TAB3 | ONLCR | OCRNL | ONLRET); |