mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 21:26:51 +00:00
o When calling the syscall, use &cap instead of cap. Apparently this
error was introduced during the merge; fixing it corrects a (correct) warning about types. Obtained from: TrustedBSD Project
This commit is contained in:
parent
b00446f08a
commit
5d08343440
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62609
|
@ -45,7 +45,7 @@ cap_get_proc(void)
|
|||
if (!cap)
|
||||
return (NULL);
|
||||
|
||||
error = __cap_get_proc(&cap);
|
||||
error = __cap_get_proc(cap);
|
||||
if (error) {
|
||||
cap_free(cap);
|
||||
return (NULL);
|
||||
|
|
|
@ -45,7 +45,7 @@ cap_get_proc(void)
|
|||
if (!cap)
|
||||
return (NULL);
|
||||
|
||||
error = __cap_get_proc(&cap);
|
||||
error = __cap_get_proc(cap);
|
||||
if (error) {
|
||||
cap_free(cap);
|
||||
return (NULL);
|
||||
|
|
Loading…
Reference in a new issue