From 377c3393c91a0dee24defc0a7d98d20b2ddb956b Mon Sep 17 00:00:00 2001 From: rwatson Date: Wed, 5 Jul 2000 04:08:35 +0000 Subject: 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 --- lib/libposix1e/cap_get_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libposix1e') 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); -- cgit v1.1