summaryrefslogtreecommitdiffstats
path: root/lib/libjail
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2010-08-31 23:14:03 +0000
committerjamie <jamie@FreeBSD.org>2010-08-31 23:14:03 +0000
commit758b5f48ff31dc0cc917dcec5bf9051267a4254c (patch)
tree94369464e789ea6c3dfce1ece3d17cd1acf23807 /lib/libjail
parent4d14528739b5f059662056b0c92d0e67d618ac39 (diff)
downloadFreeBSD-src-758b5f48ff31dc0cc917dcec5bf9051267a4254c.zip
FreeBSD-src-758b5f48ff31dc0cc917dcec5bf9051267a4254c.tar.gz
Whitespace and comment fixes.
MFC after: 3 days
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