summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-12-07 17:00:55 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2016-12-12 15:04:03 +0000
commit821ee95e6d908179f8dfc38cf1f7e5a4a9ebf3e1 (patch)
tree667c31332287041d0a33a2bd0147fe3661be3b56 /utils.h
parent3a5c70198823e51210fde89fe897232fb1619488 (diff)
downloadbubblewrap-821ee95e6d908179f8dfc38cf1f7e5a4a9ebf3e1.tar.gz
utils: Add __attribute__((printf)) to die()
Clang notices it's missing in the new PR testing. Closes: #128 Approved by: alexlarsson
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.h b/utils.h
index fbdc2fa..c0b98bb 100644
--- a/utils.h
+++ b/utils.h
@@ -50,7 +50,7 @@ typedef int bool;
void die_with_error (const char *format,
...) __attribute__((__noreturn__)) __attribute__((format (printf, 1, 2)));
void die (const char *format,
- ...) __attribute__((__noreturn__));
+ ...) __attribute__((__noreturn__)) __attribute__((format (printf, 1, 2)));
void die_oom (void) __attribute__((__noreturn__));
void die_unless_label_valid (const char *label);