[PATCH] s390: fix # of args truncate64/ftruncate64 takes

Mike Frysinger vapier at gentoo.org
Sun May 5 21:03:23 UTC 2013


* linux/s390/syscallent.h: Change nargs to 3 for truncate64/ftruncate64.
---
 linux/s390/syscallent.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h
index c79627a..2643380 100644
--- a/linux/s390/syscallent.h
+++ b/linux/s390/syscallent.h
@@ -221,8 +221,8 @@
 	{ 0,	TP,	sys_vfork,		"vfork"		}, /* 190 */
 	{ 2,	0,	sys_getrlimit,		"getrlimit"	}, /* 191 */
 	{ 1,	TD|TM,	sys_old_mmap_pgoff,	"mmap2"		}, /* 192 */
-	{ 2,	TF,	sys_truncate64,		"truncate64"	}, /* 193 */
-	{ 2,	TD,	sys_ftruncate64,	"ftruncate64"	}, /* 194 */
+	{ 3,	TF,	sys_truncate64,		"truncate64"	}, /* 193 */
+	{ 3,	TD,	sys_ftruncate64,	"ftruncate64"	}, /* 194 */
 	{ 2,	TF,	sys_stat64,		"stat64"	}, /* 195 */
 	{ 2,	TF,	sys_lstat64,		"lstat64"	}, /* 196 */
 	{ 2,	TD,	sys_fstat64,		"fstat64"	}, /* 197 */
-- 
1.8.2.1





More information about the Strace-devel mailing list