summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorkre <kre@NetBSD.org>2022-04-16 14:26:26 +0000
committerkre <kre@NetBSD.org>2022-04-16 14:26:26 +0000
commit030a5ba80092cd3226906ea9959d03e1002c08f0 (patch)
tree059f2db3b7db29d186d1812ab71ad73e634cbfe6 /sys/dev/raidframe
parent078eea82ddbeb00a206c5d412296e261f7e7e642 (diff)
Redo the way the builtin cmd 'ulimit' getopt() (nextopt() really, but it
is essentially the same) arg string is generated, to lessen the chances that the table of limits, and the arg string that allows limits to be reported or set will get out of sync. They weren't (as long as we didn't grow an RLIMIT_SWAP) this is just tidier. While here, reorder the limits table fields, and shrink a couple that were needlessly wasteful, to save some space -- for most architectures this should save 8 bytes per table entry (there are currently 13). (Some minor code bloat offsets this slightly because of int type promotions now required). NFCI.
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions