mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04: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
2 changed files with 2 additions and 2 deletions
|
|
@ -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