summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDouglas Wilson <douglas.wilson@gmail.com>2018-02-08 00:03:28 +0000
committerTamar Christina <tamar@zhox.com>2018-02-08 00:04:37 +0000
commit059596df51619314a2e240af618fe7f4d2550ff2 (patch)
treee6257f9c0ccc2ed2846ce9a6b015d6d44d95247f /includes
parentbe53d19e08c8b6db338c9027db5a0635f470f32f (diff)
downloadhaskell-059596df51619314a2e240af618fe7f4d2550ff2.tar.gz
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
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/Messages.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/rts/Messages.h b/includes/rts/Messages.h
index 206d40fb8b..c3199b23d9 100644
--- a/includes/rts/Messages.h
+++ b/includes/rts/Messages.h
@@ -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__);