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:
Robert Watson 2000-07-05 04:08:35 +00:00
parent b00446f08a
commit 5d08343440
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);