summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jail/jailp.h
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2012-05-03 21:39:23 +0000
committerjamie <jamie@FreeBSD.org>2012-05-03 21:39:23 +0000
commit18b00ce05256ac1bef00083a0ce9a34fcb4c49a9 (patch)
tree5df7a5374150f5c1f64e0d5a6d4282f1c547156e /usr.sbin/jail/jailp.h
parent593ade1bddc87e9ddb3e4aa2313c4f5f83bc23dc (diff)
downloadFreeBSD-src-18b00ce05256ac1bef00083a0ce9a34fcb4c49a9.zip
FreeBSD-src-18b00ce05256ac1bef00083a0ce9a34fcb4c49a9.tar.gz
Add a meta-parameter IP__NULL to enum intparam, instead of mixing
enum values and zeroes. This keeps clang happy (and is just good form). Submitted by: dim
Diffstat (limited to 'usr.sbin/jail/jailp.h')
-rw-r--r--usr.sbin/jail/jailp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/jail/jailp.h b/usr.sbin/jail/jailp.h
index 226ecd4..4bf7929 100644
--- a/usr.sbin/jail/jailp.h
+++ b/usr.sbin/jail/jailp.h
@@ -71,7 +71,8 @@
#define JF_DO_STOP(js) (((js) & (JF_SET | JF_STOP)) == JF_STOP)
enum intparam {
- IP_ALLOW_DYING = 1, /* Allow making changes to a dying jail */
+ IP__NULL = 0, /* Null command */
+ IP_ALLOW_DYING, /* Allow making changes to a dying jail */
IP_COMMAND, /* Command run inside jail at creation */
IP_DEPEND, /* Jail starts after (stops before) another */
IP_EXEC_CLEAN, /* Run commands in a clean environment */
OpenPOWER on IntegriCloud