Module Name:    src
Committed By:   pgoyette
Date:           Mon Nov 30 23:24:14 UTC 2015

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

Log Message:
Cast rsys_syscall() to (void) to appease coverity.


To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 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.157 src/sys/kern/makesyscalls.sh:1.158
--- src/sys/kern/makesyscalls.sh:1.157	Mon Nov 30 23:17:40 2015
+++ src/sys/kern/makesyscalls.sh	Mon Nov 30 23:24:14 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: makesyscalls.sh,v 1.157 2015/11/30 23:17:40 pgoyette Exp $
+#	$NetBSD: makesyscalls.sh,v 1.158 2015/11/30 23:24:14 pgoyette Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -985,7 +985,7 @@ function putent(type, compatwrap) {
 	printf("\t") > rumpcalls
 	if (returntype != "void" && type != "NOERR")
 		printf("error = ") > rumpcalls
-	printf("rsys_syscall(%s%s%s, " \
+	printf("(void)rsys_syscall(%s%s%s, " \
 	    "%s, %s, retval);\n", constprefix, compatwrap_, funcalias, \
 	    argarg, argsize) > rumpcalls
 	if (type != "NOERR") {

Reply via email to