aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/un.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2013-01-22 20:37:31 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2013-01-22 20:37:31 +0000
commit3a6df89b646ab67c372783f6630a8f379d601572 (patch)
tree9904cec9cd223ae33d4abb6a3275806e8e0914b7 /sys/sys/un.h
parent1d77fa5a26388c8de503f93f804875b6a11291e2 (diff)
downloadsrc-3a6df89b646ab67c372783f6630a8f379d601572.tar.gz
src-3a6df89b646ab67c372783f6630a8f379d601572.zip
Similar to r245823, use decimal constants for UNIX domain socket options.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=245824
Diffstat (limited to 'sys/sys/un.h')
-rw-r--r--sys/sys/un.h6
1 files 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