From 76aab083f3fb8d8737e23e74c34ae8956236b4ff Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 22 Jan 2013 20:37:31 +0000 Subject: [PATCH] Similar to r245823, use decimal constants for UNIX domain socket options. MFC after: 1 week --- sys/sys/un.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/sys/un.h b/sys/sys/un.h index 1f4731e6e810..6ab84748bbdf 100644 --- a/sys/sys/un.h +++ b/sys/sys/un.h @@ -53,9 +53,9 @@ struct sockaddr_un { #if __BSD_VISIBLE /* Socket options. */ -#define LOCAL_PEERCRED 0x001 /* retrieve peer credentials */ -#define LOCAL_CREDS 0x002 /* pass credentials to receiver */ -#define LOCAL_CONNWAIT 0x004 /* connects block until accepted */ +#define LOCAL_PEERCRED 1 /* retrieve peer credentials */ +#define LOCAL_CREDS 2 /* pass credentials to receiver */ +#define LOCAL_CONNWAIT 4 /* connects block until accepted */ #ifndef _KERNEL