Module Name:    src
Committed By:   skrll
Date:           Tue Jan  5 15:23:32 UTC 2010

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

Log Message:
Check for dev_t and time_t arguments and mark them as 64bit.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 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.92 src/sys/kern/makesyscalls.sh:1.93
--- src/sys/kern/makesyscalls.sh:1.92	Sun Dec 13 04:47:45 2009
+++ src/sys/kern/makesyscalls.sh	Tue Jan  5 15:23:32 2010
@@ -1,5 +1,5 @@
 #! /bin/sh -
-#	$NetBSD: makesyscalls.sh,v 1.92 2009/12/13 04:47:45 matt Exp $
+#	$NetBSD: makesyscalls.sh,v 1.93 2010/01/05 15:23:32 skrll Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -508,7 +508,8 @@
 		} else {
 			argalign++;
 		}
-		if (argtype[argc] == "quad_t" || argtype[argc] == "off_t") {
+		if (argtype[argc] == "quad_t" || argtype[argc] == "off_t" \
+		  || argtype[argc] == "dev_t" || argtype[argc] == "time_t") {
 			if (sycall_flags == "0")
 				sycall_flags = "SYCALL_ARG"argc-1"_64";
 			else

Reply via email to