Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Cast rsys_syscall() to (void) to appease coverity.



details:   https://anonhg.NetBSD.org/src/rev/ca3fe85b2667
branches:  trunk
changeset: 341950:ca3fe85b2667
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Nov 30 23:24:14 2015 +0000

description:
Cast rsys_syscall() to (void) to appease coverity.

diffstat:

 sys/kern/makesyscalls.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0a43dfe9fe74 -r ca3fe85b2667 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Mon Nov 30 23:17:40 2015 +0000
+++ b/sys/kern/makesyscalls.sh  Mon Nov 30 23:24:14 2015 +0000
@@ -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 @@
        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") {



Home | Main Index | Thread Index | Old Index