]> git.ipfire.org Git - thirdparty/git.git/blobdiff - usage.c
Merge branch 'sb/object-store-grafts' into sb/object-store-lookup
[thirdparty/git.git] / usage.c
diff --git a/usage.c b/usage.c
index 9c84dccfa9719d925b23eb63247d79d5dfe4b817..cc803336bd5e6761b7fd50c33dba5aa9f734c4ba 100644 (file)
--- a/usage.c
+++ b/usage.c
@@ -148,6 +148,7 @@ static const char *fmt_with_err(char *buf, int n, const char *fmt)
                }
        }
        str_error[j] = 0;
+       /* Truncation is acceptable here */
        snprintf(buf, n, "%s: %s", fmt, str_error);
        return buf;
 }