svn commit: r254538 - head/usr.bin/truss

John Baldwin jhb at FreeBSD.org
Mon Aug 19 17:09:14 UTC 2013


Author: jhb
Date: Mon Aug 19 17:09:14 2013
New Revision: 254538
URL: http://svnweb.freebsd.org/changeset/base/254538

Log:
  Remove incorrect 'const' qualifier from pointers to dynamic string
  buffers I added in the previous commit.
  
  Pointy hat to:	jhb
  MFC after:	1 month

Modified:
  head/usr.bin/truss/syscalls.c

Modified: head/usr.bin/truss/syscalls.c
==============================================================================
--- head/usr.bin/truss/syscalls.c	Mon Aug 19 16:47:06 2013	(r254537)
+++ head/usr.bin/truss/syscalls.c	Mon Aug 19 17:09:14 2013	(r254538)
@@ -894,7 +894,7 @@ print_arg(struct syscall_args *sc, unsig
 		tmp = strdup(xlookup_bits(mprot_flags, args[sc->offset]));
 		break;
 	case Mmapflags: {
-		const char *base, *alignstr;
+		char *base, *alignstr;
 		int align, flags;
 
 		/*


More information about the svn-src-head mailing list