summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-08-19 17:09:14 +0000
committerjhb <jhb@FreeBSD.org>2013-08-19 17:09:14 +0000
commitfb96ed57d03dec8fd41b231e0a4d888d4ac413ed (patch)
tree5e40e2175425407755c76c93741bfe9a65d724bc /usr.bin
parent5736632f19cd68c94161625c75b1569688fd7db0 (diff)
downloadFreeBSD-src-fb96ed57d03dec8fd41b231e0a4d888d4ac413ed.zip
FreeBSD-src-fb96ed57d03dec8fd41b231e0a4d888d4ac413ed.tar.gz
Remove incorrect 'const' qualifier from pointers to dynamic string
buffers I added in the previous commit. Pointy hat to: jhb MFC after: 1 month
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/truss/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index af4ed5e..f5e2c46 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -894,7 +894,7 @@ print_arg(struct syscall_args *sc, unsigned long *args, long retval,
tmp = strdup(xlookup_bits(mprot_flags, args[sc->offset]));
break;
case Mmapflags: {
- const char *base, *alignstr;
+ char *base, *alignstr;
int align, flags;
/*
OpenPOWER on IntegriCloud