summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Marie <semarie@users.noreply.github.com>2018-11-27 19:23:11 +0100
committerSébastien Marie <semarie@users.noreply.github.com>2018-11-27 19:23:11 +0100
commita1fb747270b7abdb42c4bb5898d0ae368854ac80 (patch)
tree0fd2e6f1a7a37a46a58c584ffe2ec4a7d33ee69a
parent969b650d1b4c77f885f18920205f6cee8ea2edaa (diff)
downloadrust-libc-a1fb747270b7abdb42c4bb5898d0ae368854ac80.tar.gz
openbsd: add KERN_CPUSTATS and increment KERN_MAXID
-rw-r--r--src/unix/bsd/netbsdlike/openbsdlike/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unix/bsd/netbsdlike/openbsdlike/mod.rs b/src/unix/bsd/netbsdlike/openbsdlike/mod.rs
index 24925ebcc2..85f0a02a12 100644
--- a/src/unix/bsd/netbsdlike/openbsdlike/mod.rs
+++ b/src/unix/bsd/netbsdlike/openbsdlike/mod.rs
@@ -668,7 +668,8 @@ pub const KERN_GLOBAL_PTRACE: ::c_int = 81;
pub const KERN_CONSBUFSIZE: ::c_int = 82;
pub const KERN_CONSBUF: ::c_int = 83;
pub const KERN_AUDIO: ::c_int = 84;
-pub const KERN_MAXID: ::c_int = 85;
+pub const KERN_CPUSTATS: ::c_int = 85;
+pub const KERN_MAXID: ::c_int = 86;
pub const KERN_PROC_ALL: ::c_int = 0;
pub const KERN_PROC_PID: ::c_int = 1;
pub const KERN_PROC_PGRP: ::c_int = 2;