aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-11-18 14:01:12 +0000
committerThomas Adam <thomas@xteddy.org>2015-11-18 14:01:12 +0000
commit8fa822b52106ddb80a33a81ecfbe3c5dea793f31 (patch)
tree58616aa820133f4c2c01ee1483f1df114ecad5c7 /tty-term.c
parent93742ed5dfe3b00061ddc55884077a2537c9b43a (diff)
parent64571368dc19219fc1ef9b6c20034ee143cbed0d (diff)
downloadrtmux-8fa822b52106ddb80a33a81ecfbe3c5dea793f31.tar.gz
rtmux-8fa822b52106ddb80a33a81ecfbe3c5dea793f31.tar.bz2
rtmux-8fa822b52106ddb80a33a81ecfbe3c5dea793f31.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tty-term.c b/tty-term.c
index 98a90bc6..f536859e 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -562,7 +562,7 @@ tty_term_string(struct tty_term *term, enum tty_code_code code)
if (!tty_term_has(term, code))
return ("");
if (term->codes[code].type != TTYCODE_STRING)
- log_fatalx("not a string: %d", code);
+ fatalx("not a string: %d", code);
return (term->codes[code].value.string);
}
@@ -597,7 +597,7 @@ tty_term_number(struct tty_term *term, enum tty_code_code code)
if (!tty_term_has(term, code))
return (0);
if (term->codes[code].type != TTYCODE_NUMBER)
- log_fatalx("not a number: %d", code);
+ fatalx("not a number: %d", code);
return (term->codes[code].value.number);
}
@@ -607,7 +607,7 @@ tty_term_flag(struct tty_term *term, enum tty_code_code code)
if (!tty_term_has(term, code))
return (0);
if (term->codes[code].type != TTYCODE_FLAG)
- log_fatalx("not a flag: %d", code);
+ fatalx("not a flag: %d", code);
return (term->codes[code].value.flag);
}