diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-04-10 14:29:08 -0400 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2013-04-21 14:23:52 -0500 |
commit | 97c122eacc8636b26992cf6e080775f7c28660f9 (patch) | |
tree | 43883caf7c22f860c713e64572a87c75987e1f19 | |
parent | cc2c178727cdeca4eb9756637c2e09e50e0856e7 (diff) | |
download | dtc-97c122eacc8636b26992cf6e080775f7c28660f9.tar.gz |
die: constify format string arg
We only display this string, so there's no need for it to be writable.
Constify away!
Acked-by: David Gibson <David@gibson.dropbear.id.au>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ * USA */ -static inline void __attribute__((noreturn)) die(char * str, ...) +static inline void __attribute__((noreturn)) die(const char *str, ...) { va_list ap; |