diff options
author | rwatson <rwatson@FreeBSD.org> | 2000-07-05 04:08:35 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2000-07-05 04:08:35 +0000 |
commit | 377c3393c91a0dee24defc0a7d98d20b2ddb956b (patch) | |
tree | 80cab499bf960dc69429045174fd8a095cd4b3e4 | |
parent | 693177f07aa4efc30e1f64be7146a1c93e52702c (diff) | |
download | FreeBSD-src-377c3393c91a0dee24defc0a7d98d20b2ddb956b.zip FreeBSD-src-377c3393c91a0dee24defc0a7d98d20b2ddb956b.tar.gz |
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
-rw-r--r-- | lib/libc/posix1e/cap_get_proc.c | 2 | ||||
-rw-r--r-- | lib/libposix1e/cap_get_proc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/posix1e/cap_get_proc.c b/lib/libc/posix1e/cap_get_proc.c index 5078a2a..e5d0782 100644 --- a/lib/libc/posix1e/cap_get_proc.c +++ b/lib/libc/posix1e/cap_get_proc.c @@ -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); diff --git a/lib/libposix1e/cap_get_proc.c b/lib/libposix1e/cap_get_proc.c index 5078a2a..e5d0782 100644 --- a/lib/libposix1e/cap_get_proc.c +++ b/lib/libposix1e/cap_get_proc.c @@ -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); |