diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-03-31 01:35:27 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-03-31 01:35:27 -0400 |
commit | 393520dc1ae6fd8ff303430f5c9b96bcec43eb40 (patch) | |
tree | c2931ee2172a1d6527cb92ce9a69d869d87603e0 /libsandbox | |
parent | tests: add basic functionality tests (diff) | |
download | sandbox-393520dc1ae6fd8ff303430f5c9b96bcec43eb40.tar.gz sandbox-393520dc1ae6fd8ff303430f5c9b96bcec43eb40.tar.bz2 sandbox-393520dc1ae6fd8ff303430f5c9b96bcec43eb40.zip |
libsandbox: declare cmdline const since it is
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox')
-rw-r--r-- | libsandbox/libsandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c index c3f0b55..6a4b5e3 100644 --- a/libsandbox/libsandbox.c +++ b/libsandbox/libsandbox.c @@ -434,7 +434,7 @@ static bool write_logfile(const char *logfile, const char *func, const char *pat _SB_WRITE_STR(rpath); _SB_WRITE_STR("\nC: "); - char *cmdline = sb_get_cmdline(trace_pid); + const char *cmdline = sb_get_cmdline(trace_pid); int cmdlinefd = sb_open(cmdline, O_RDONLY, 0); if (cmdlinefd != -1) { size_t pagesz = getpagesize(); |