[PATCH] fix typo for sys_getpeername on hppa/parisc architecture

Helge Deller deller at gmx.de
Sat Jan 24 15:51:27 UTC 2015


Dear strace developers,

can you please apply this trivial patch to strace in git?
It fixes an obvious typo which prints "lock" instead of "getpeername"
for the getpeername syscall.

Thanks,
Helge

diff -up ./linux/hppa/syscallent.h.org ./linux/hppa/syscallent.h
--- ./linux/hppa/syscallent.h.org	2015-01-24 16:41:25.601801409 +0100
+++ ./linux/hppa/syscallent.h	2015-01-24 16:41:41.857843080 +0100
@@ -55,7 +55,7 @@
 	{ 0,	NF,	sys_getegid,		"getegid"		}, /* 50 */
 	{ 1,	TF,	sys_acct,		"acct"			}, /* 51 */
 	{ 2,	TF,	sys_umount2,		"umount2"		}, /* 52 */
-	{ 3,	TN,	sys_getpeername,	"lock"			}, /* 53 */
+	{ 3,	TN,	sys_getpeername,	"getpeername"		}, /* 53 */
 	{ 3,	TD,	sys_ioctl,		"ioctl"			}, /* 54 */
 	{ 3,	TD,	sys_fcntl,		"fcntl"			}, /* 55 */
 	{ 4,	TN,	sys_socketpair,		"socketpair"		}, /* 56 */




More information about the Strace-devel mailing list