ill-formed macro (build fix)

This commit is contained in:
nhmall
2023-12-08 05:01:47 -05:00
parent c41cb1a7fa
commit 2a9ede0fd7

View File

@@ -359,7 +359,7 @@ submit_web_report(const char *msg, char *why)
/* // XXX header for wholetrace - what other info do we want? */
/* // NB: prelines not tested against size of SWR_FRAMES. */
#define SWR_HDR(line) \
do {
do { \
if (endp < &wholetrace[sizeof wholetrace]) { \
endp += snprintf(endp, sizeof wholetrace - (endp - wholetrace), \
"%s\n", line); \