Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2017 22:39:16 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315335 - head/usr.bin/truss
Message-ID:  <201703152239.v2FMdGbL085468@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Mar 15 22:39:15 2017
New Revision: 315335
URL: https://svnweb.freebsd.org/changeset/base/315335

Log:
  Remove duplicate argument from linux_stat64() decoding.

Modified:
  head/usr.bin/truss/syscalls.c

Modified: head/usr.bin/truss/syscalls.c
==============================================================================
--- head/usr.bin/truss/syscalls.c	Wed Mar 15 22:36:26 2017	(r315334)
+++ head/usr.bin/truss/syscalls.c	Wed Mar 15 22:39:15 2017	(r315335)
@@ -377,8 +377,8 @@ static struct syscall decoded_syscalls[]
 	  .args = { { Name, 0 }, { Name | OUT, 1 }, { Int, 2 } } },
 	{ .name = "linux_socketcall", .ret_type = 1, .nargs = 2,
 	  .args = { { Int, 0 }, { LinuxSockArgs, 1 } } },
-	{ .name = "linux_stat64", .ret_type = 1, .nargs = 3,
-	  .args = { { Name | IN, 0 }, { Ptr | OUT, 1 }, { Ptr | IN, 1 } } },
+	{ .name = "linux_stat64", .ret_type = 1, .nargs = 2,
+	  .args = { { Name | IN, 0 }, { Ptr | OUT, 1 } } },
 
 	/* CloudABI system calls. */
 	{ .name = "cloudabi_sys_clock_res_get", .ret_type = 1, .nargs = 1,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703152239.v2FMdGbL085468>