diff options
author | Andrew G. Morgan <agm@google.com> | 2020-06-02 17:20:37 -0700 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2020-06-02 17:20:37 -0700 |
commit | 56e62de21dc6b1531ce8560bce97332f8da30c6f (patch) | |
tree | fcad56ea9458b1ed762705bf31c2d2c3ce91578c /libcap | |
parent | 9e9537a1da07414a906acf678cbd18864b4f9820 (diff) | |
download | libcap-56e62de21dc6b1531ce8560bce97332f8da30c6f.tar.gz |
More linter findings.
Should have likely included these in the earlier patch. Too much
to clean up I guess.
Signed-off-by: Andrew G. Morgan <agm@google.com>
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'libcap')
-rw-r--r-- | libcap/cap_proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcap/cap_proc.c b/libcap/cap_proc.c index dfc47a8..c1cda2e 100644 --- a/libcap/cap_proc.c +++ b/libcap/cap_proc.c @@ -899,7 +899,7 @@ defer: * characteristics, to make sure they stick, or return an error * of -1 setting errno because the launch failed. */ -pid_t cap_launch(cap_launch_t details, void *data) { +pid_t cap_launch(cap_launch_t attr, void *data) { int my_errno; int ps[2]; @@ -917,7 +917,7 @@ pid_t cap_launch(cap_launch_t details, void *data) { if (!child) { close(ps[0]); /* noreturn from this function: */ - _cap_launch(ps[1], details, data); + _cap_launch(ps[1], attr, data); } /* |