summaryrefslogtreecommitdiffhomepage
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-06-05 08:33:03 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-06-05 08:33:03 +0200
commitdf0383c624fa86d89cc438517340b4277366f133 (patch)
treed278ea41dfc9cf2c88c2d469aef85d1312651121 /libbb
parent3d9c64915810cf684d75c8697b42e30c14011324 (diff)
libbb: correct the name of is_TERM_dumb()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/xfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index c81ce4546..c40dcb706 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -303,7 +303,7 @@ int FAST_FUNC get_terminal_width(int fd)
return width;
}
-int FAST_FUNC is_dumb_term(void)
+int FAST_FUNC is_TERM_dumb(void)
{
char *term = getenv("TERM");
return term && strcmp(term, "dumb") == 0;