forked from pool/psmisc
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=80
This commit is contained in:
parent
3e88d3f2c6
commit
bf76aaf83d
@ -1,15 +0,0 @@
|
||||
---
|
||||
src/pstree.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- src/pstree.c
|
||||
+++ src/pstree.c 2017-06-20 13:50:18.024118675 +0000
|
||||
@@ -1093,7 +1093,7 @@ int main(int argc, char **argv)
|
||||
} else if (isatty(1) && (termname = getenv("TERM")) &&
|
||||
(strlen(termname) > 0) &&
|
||||
(setupterm(NULL, 1 /* stdout */ , NULL) == OK) &&
|
||||
- (tigetstr("acsc") > 0)) {
|
||||
+ ((int)tigetstr("acsc") > 0)) {
|
||||
/*
|
||||
* Failing that, if TERM is defined, a non-null value, and the terminal
|
||||
* has the VT100 graphics charset, use it.
|
Loading…
Reference in New Issue
Block a user