Skip to content

Commit b9d6917

Browse files
committed
Fix mismatch of constants
1 parent 1de98b8 commit b9d6917

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/unix/nto/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,6 @@ cfg_if! {
12791279
pub const IFF_NOTRAILERS: c_int = 0x00000020;
12801280
pub const AF_INET6: c_int = 24;
12811281
pub const AF_BLUETOOTH: c_int = 31;
1282-
pub const AF_BLUETOOTH: c_int = 36;
12831282
pub const pseudo_AF_KEY: c_int = 29;
12841283
pub const MSG_NOSIGNAL: c_int = 0x0800;
12851284
pub const MSG_WAITFORONE: c_int = 0x2000;
@@ -1331,7 +1330,7 @@ cfg_if! {
13311330
pub const KERN_MAXID: c_int = 83;
13321331
pub const KERN_PROC_ARGS: c_int = 48;
13331332
pub const KERN_PROC_ENV: c_int = 3;
1334-
pub const KERN_PROC_GID: c_int = 11;
1333+
pub const KERN_PROC_GID: c_int = 7;
13351334
pub const KERN_PROC_RGID: c_int = 8;
13361335
pub const LOCAL_CONNWAIT: c_int = 0x0002;
13371336
pub const LOCAL_CREDS: c_int = 0x0001;
@@ -1376,7 +1375,7 @@ cfg_if! {
13761375
pub const KERN_LOGSIGEXIT: c_int = 34;
13771376
pub const KERN_PROC_ARGS: c_int = 7;
13781377
pub const KERN_PROC_ENV: c_int = 35;
1379-
pub const KERN_PROC_GID: c_int = 7;
1378+
pub const KERN_PROC_GID: c_int = 11;
13801379
pub const KERN_PROC_RGID: c_int = 10;
13811380
pub const LOCAL_CONNWAIT: c_int = 4;
13821381
pub const LOCAL_CREDS: c_int = 2;

0 commit comments

Comments
 (0)