diff options
author | Simon Horman <horms@verge.net.au> | 2010-02-02 14:42:02 +1100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2010-02-02 14:42:02 +1100 |
commit | c59af3ab34f41f259eb2f019e9f5f9ad3229893f (patch) | |
tree | 84828e87eccb5a3ee289e10e029bb0820ed655c1 /kexec/kexec.h | |
parent | 8b42c99aa3bc59b877732a82e6db6380e4958b54 (diff) | |
download | kexec-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.h | 2 |
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 */ |