Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern need intptr_t cast for linux_handler_t
details: https://anonhg.NetBSD.org/src/rev/748b45dfdbb1
branches: trunk
changeset: 350653:748b45dfdbb1
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 15 15:18:52 2017 +0000
description:
need intptr_t cast for linux_handler_t
diffstat:
sys/kern/makesyscalls.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 020bc8206612 -r 748b45dfdbb1 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh Sun Jan 15 11:56:11 2017 +0000
+++ b/sys/kern/makesyscalls.sh Sun Jan 15 15:18:52 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: makesyscalls.sh,v 1.166 2017/01/13 06:11:27 christos Exp $
+# $NetBSD: makesyscalls.sh,v 1.167 2017/01/15 15:18:52 christos Exp $
#
# Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
# All rights reserved.
@@ -799,7 +799,7 @@
sub("__restrict$", "", arg)
printf("\t\tcase %d:\n\t\t\tp = \"%s\";\n\t\t\tbreak;\n", i - 1, arg) > systracetmp
if (arg ~ /.*p_t$/ || arg ~ /.*p$/ || arg ~ /.*_t_p$/ ||
- arg ~ /.*_pointer_t$/)
+ arg ~ /.*_pointer_t$/ || arg ~ /.*_handler_t$/)
printf("\t\tuarg[%d] = (intptr_t) SCARG(p, %s).i32; /* %s */\n", \
i - 1, \
argname[i], arg) > systrace
Home |
Main Index |
Thread Index |
Old Index