summaryrefslogtreecommitdiffstats
path: root/lib/libjail
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libjail')
-rw-r--r--lib/libjail/jail.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libjail/jail.c b/lib/libjail/jail.c
index 46da6b4..1be8358 100644
--- a/lib/libjail/jail.c
+++ b/lib/libjail/jail.c
@@ -786,7 +786,6 @@ jailparam_export(struct jailparam *jp)
valbuf, sizeof(valbuf)) == NULL) {
strerror_r(errno, jail_errmsg,
JAIL_ERRMSGLEN);
-
return (NULL);
}
break;
@@ -796,7 +795,6 @@ jailparam_export(struct jailparam *jp)
valbuf, sizeof(valbuf)) == NULL) {
strerror_r(errno, jail_errmsg,
JAIL_ERRMSGLEN);
-
return (NULL);
}
break;
@@ -894,7 +892,7 @@ jailparam_type(struct jailparam *jp)
mib[1] = 4;
desclen = sizeof(desc);
if (sysctl(mib, (miblen / sizeof(int)) + 2,
- &desc, &desclen, NULL, 0) < 0) {
+ &desc, &desclen, NULL, 0) < 0) {
snprintf(jail_errmsg,
JAIL_ERRMSGLEN,
"sysctl(0.4.%s): %s", desc.s,
@@ -934,7 +932,7 @@ jailparam_type(struct jailparam *jp)
isarray = 1;
p[-2] = 0;
}
- /* Look for types we understand */
+ /* Look for types we understand. */
jp->jp_ctltype = desc.i;
switch (desc.i & CTLTYPE) {
case CTLTYPE_INT:
OpenPOWER on IntegriCloud