]> git.ipfire.org Git - thirdparty/git.git/blobdiff - wrapper.c
Start the 2.46 cycle
[thirdparty/git.git] / wrapper.c
index eeac3741cf1a4e90ceab3bef07028aad632ebfb6..f87d90bf5794a55418d657160f3c86735c1e4bd7 100644 (file)
--- a/wrapper.c
+++ b/wrapper.c
@@ -670,7 +670,7 @@ int xsnprintf(char *dst, size_t max, const char *fmt, ...)
        va_end(ap);
 
        if (len < 0)
-               BUG("your snprintf is broken");
+               die(_("unable to format message: %s"), fmt);
        if (len >= max)
                BUG("attempt to snprintf into too-small buffer");
        return len;