Module Name:    src
Committed By:   christos
Date:           Fri Jan 13 06:11:27 UTC 2017

Modified Files:
        src/sys/kern: makesyscalls.sh

Log Message:
const police!


To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 src/sys/kern/makesyscalls.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/makesyscalls.sh
diff -u src/sys/kern/makesyscalls.sh:1.165 src/sys/kern/makesyscalls.sh:1.166
--- src/sys/kern/makesyscalls.sh:1.165	Fri Oct 28 19:44:32 2016
+++ src/sys/kern/makesyscalls.sh	Fri Jan 13 01:11:27 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: makesyscalls.sh,v 1.165 2016/10/28 23:44:32 christos Exp $
+#	$NetBSD: makesyscalls.sh,v 1.166 2017/01/13 06:11:27 christos Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -793,7 +793,7 @@ function putsystrace(type, compatwrap_) 
 	printf("\t/* %s */\n\tcase %d:\n", funcname, syscall) > systraceret
 	if (argc > 0) {
 		printf("\t\tswitch(ndx) {\n") > systracetmp
-		printf("\t\tstruct %s%s_args *p = params;\n", compatwrap_, funcname) > systrace
+		printf("\t\tconst struct %s%s_args *p = params;\n", compatwrap_, funcname) > systrace
 		for (i = 1; i <= argc; i++) {
 			arg = argtype[i]
 			sub("__restrict$", "", arg)

Reply via email to