#if 0
static char sccsid[] = "@(#)from: sysctl.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] =
+__unused static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
S_xswusage(int l2, void *p)
{
struct xsw_usage *xsu = (struct xsw_usage *)p;
-
+
if (l2 != sizeof(*xsu)) {
warnx("S_xswusage %d != %ld", l2, sizeof(*xsu));
return (1);
}
} else if (buf[sizeof(u_int)] == 'L') {
*kind = (*kind & ~CTLTYPE) | CTLTYPE_LONG;
+ if (buf[sizeof(u_int)+1] == 'U') {
+ *kind = (*kind & ~CTLTYPE) | CTLTYPE_ULONG;
+ }
}
break;
case CTLTYPE_QUAD:
}
}
#endif
-
+
return (0);
}
return (1);
}
#endif
-
+
switch (ctltype) {
case CTLTYPE_STRING:
if (!nflag)