Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Check for dev_t and time_t arguments and mark them ...



details:   https://anonhg.NetBSD.org/src/rev/e7bb926fa64b
branches:  trunk
changeset: 750544:e7bb926fa64b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Jan 05 15:23:32 2010 +0000

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

diffstat:

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

diffs (20 lines):

diff -r 1eeb1222b596 -r e7bb926fa64b sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Tue Jan 05 13:57:18 2010 +0000
+++ b/sys/kern/makesyscalls.sh  Tue Jan 05 15:23:32 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index