summaryrefslogtreecommitdiffstats
path: root/color.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-12-02 10:26:09 -0500
committerTavian Barnes <tavianator@tavianator.com>2020-12-02 10:56:41 -0500
commit5920a1b5e19e529ab3a3972348a6d53bcd90acfc (patch)
treec791c10af803beac372c4eef052eca8183410257 /color.c
parentbdef1cd0bb00251bf92e6a545bb6e0f2dc2814a5 (diff)
downloadbfs-5920a1b5e19e529ab3a3972348a6d53bcd90acfc.tar.xz
Give messages to unconditional assertion failures
Diffstat (limited to 'color.c')
-rw-r--r--color.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/color.c b/color.c
index b6b0e80..1d06e51 100644
--- a/color.c
+++ b/color.c
@@ -1081,7 +1081,7 @@ static int cvbuff(CFILE *cfile, const char *format, va_list args) {
return 0;
invalid:
- assert(false);
+ assert(!"Invalid format string");
errno = EINVAL;
return -1;
}