From 0ff47065829abc1478353cae367a5340561f7bd5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sun, 20 Aug 2006 20:05:49 +0000 Subject: r17630: Looks like getpeerid() is a system function on FreeBSD. Change to sys_getpeerid(). Thanks to vl for pointing this out. Jeremy. (This used to be commit dd0069cfcabb25dc7dc0d336696a5f2580abb5a1) --- source3/lib/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/system.c') diff --git a/source3/lib/system.c b/source3/lib/system.c index bd7e4b8a67..42f9615c9e 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -2243,7 +2243,7 @@ int sys_aio_suspend(const SMB_STRUCT_AIOCB * const cblist[], int n, const struct } #endif /* WITH_AIO */ -int getpeereid( int s, uid_t *uid) +int sys_getpeereid( int s, uid_t *uid) { #if defined(HAVE_PEERCRED) struct ucred cred; -- cgit