Commit 059596df authored by Douglas Wilson's avatar Douglas Wilson Committed by Tamar Christina

rts: fix barf format attribute

Summary: See definition of PRINTF above the change

Reviewers: bgamari, erikd, simonmar, Phyx

Reviewed By: Phyx

Subscribers: Phyx, rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4392
parent be53d19e
......@@ -41,7 +41,7 @@
*/
void barf(const char *s, ...)
GNUC3_ATTRIBUTE(__noreturn__)
GNUC3_ATTRIBUTE(format(printf, 1, 2));
GNUC3_ATTRIBUTE(format(PRINTF, 1, 2));
void vbarf(const char *s, va_list ap)
GNUC3_ATTRIBUTE(__noreturn__);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment