Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/config-write-fix'
[gitweb.git]
/
wrapper.c
diff --git
a/wrapper.c
b/wrapper.c
index 1fd5e33ea8f5c8cb4e6720b0bec74acf09232e3c..e4fa9d84cd076770306114ff4f284155a5cdd2a1 100644
(file)
--- a/
wrapper.c
+++ b/
wrapper.c
@@
-643,9
+643,9
@@
int xsnprintf(char *dst, size_t max, const char *fmt, ...)
va_end(ap);
if (len < 0)
-
die("BUG:
your snprintf is broken");
+
BUG("
your snprintf is broken");
if (len >= max)
-
die("BUG:
attempt to snprintf into too-small buffer");
+
BUG("
attempt to snprintf into too-small buffer");
return len;
}