summaryrefslogtreecommitdiff
path: root/kexec/kexec.h
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2010-02-02 14:42:02 +1100
committerSimon Horman <horms@verge.net.au>2010-02-02 14:42:02 +1100
commitc59af3ab34f41f259eb2f019e9f5f9ad3229893f (patch)
tree84828e87eccb5a3ee289e10e029bb0820ed655c1 /kexec/kexec.h
parent8b42c99aa3bc59b877732a82e6db6380e4958b54 (diff)
downloadkexec-tools-c59af3ab34f41f259eb2f019e9f5f9ad3229893f.tar.gz
don't leak in concat_cmdline
Cc: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.h')
-rw-r--r--kexec/kexec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/kexec.h b/kexec/kexec.h
index ebc5a95..5f00525 100644
--- a/kexec/kexec.h
+++ b/kexec/kexec.h
@@ -261,6 +261,6 @@ static inline int __attribute__ ((format (printf, 1, 2)))
dbgprintf(const char *fmt, ...) {return 0;}
#endif
-const char *concat_cmdline(const char *base, const char *append);
+char *concat_cmdline(const char *base, const char *append);
#endif /* KEXEC_H */