]> granicus.if.org Git - strace/commitdiff
sh: fix syscall numbering for recv and sendto
authorErik Johansson <erik@ejohansson.se>
Mon, 11 Aug 2014 08:26:56 +0000 (10:26 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 11 Aug 2014 17:39:43 +0000 (17:39 +0000)
* linux/sh/syscallent.h: Swap recv and sendto syscall entries.

linux/sh/syscallent.h

index 75c15f7d63a474e04cae50c92d4a52a7fdfdd450..7033af110da804552d841f3c54003082f60e6acf 100644 (file)
        { 3,    TN,     sys_getpeername,        "getpeername"   }, /* 346 */
        { 4,    TN,     sys_socketpair,         "socketpair"    }, /* 347 */
        { 4,    TN,     sys_send,               "send"          }, /* 348 */
-       { 4,    TN,     sys_recv,               "recv"          }, /* 349 */
-       { 6,    TN,     sys_sendto,             "sendto"        }, /* 350 */
+       { 6,    TN,     sys_sendto,             "sendto"        }, /* 349 */
+       { 4,    TN,     sys_recv,               "recv"          }, /* 350 */
        { 6,    TN,     sys_recvfrom,           "recvfrom"      }, /* 351 */
        { 2,    TN,     sys_shutdown,           "shutdown"      }, /* 352 */
        { 5,    TN,     sys_setsockopt,         "setsockopt"    }, /* 353 */