Date: Wed, 10 Aug 2016 18:45:27 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r303937 - head/usr.bin/truss Message-ID: <201608101845.u7AIjRYq090697@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Wed Aug 10 18:45:26 2016 New Revision: 303937 URL: https://svnweb.freebsd.org/changeset/base/303937 Log: Use proper argument length for rmdir(2) for r303934. Reported by: kib X-MFC-With: r303934 MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Modified: head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscalls.c ============================================================================== --- head/usr.bin/truss/syscalls.c Wed Aug 10 18:23:23 2016 (r303936) +++ head/usr.bin/truss/syscalls.c Wed Aug 10 18:45:26 2016 (r303937) @@ -279,8 +279,8 @@ static struct syscall decoded_syscalls[] .args = { { Name, 0 }, { Name, 1 } } }, { .name = "renameat", .ret_type = 1, .nargs = 4, .args = { { Atfd, 0 }, { Name, 1 }, { Atfd, 2 }, { Name, 3 } } }, - { .name = "rmdir", .ret_type = 1, .nargs = 2, - .args = { { Name, 0 }, { Octal, 1 } } }, + { .name = "rmdir", .ret_type = 1, .nargs = 1, + .args = { { Name, 0 } } }, { .name = "rfork", .ret_type = 1, .nargs = 1, .args = { { Rforkflags, 0 } } }, { .name = "select", .ret_type = 1, .nargs = 5,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608101845.u7AIjRYq090697>