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
@ -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…
x
Reference in New Issue
Block a user