christos
062204d530
fix lint comment.
2012-04-07 16:28:59 +00:00
christos
834d97b095
lint knows the code is not reachable, but gcc does not.
2012-04-07 16:18:24 +00:00
christos
df956cc4ce
also handle the separator after the F field.
2012-01-23 03:22:41 +00:00
christos
c1260ab13f
In the new format F did not print a separator as required.
2012-01-23 02:34:01 +00:00
christos
488f092662
PR/45796: Evgeniy Ivanov minixfs3 support.
2012-01-16 18:46:20 +00:00
christos
28bb169a57
compile into nothing if _STANDALONE
2011-11-14 16:21:44 +00:00
christos
cb23ae6f47
add netbsd id
2011-11-14 14:37:13 +00:00
christos
58214e6f51
- fix boot block building (-D_STANDALONE)
...
- explain why we cast.
2011-11-14 14:36:40 +00:00
christos
7569228a97
the kernel does not have util.h
2011-11-13 22:21:29 +00:00
christos
fb75d15e0f
Add a function to convert from a disklabel p_fstype integer to a
...
dkw_ptype name.
2011-11-13 21:56:53 +00:00
christos
cdcc8530f0
Add a version of proc_compare that works both for kernel and userland
...
(and uses the same algorithm!)
2011-10-21 02:09:00 +00:00
christos
7ba3e6ca4b
document non-literal format string
2011-08-16 10:33:17 +00:00
pgoyette
28469fc250
Implement snprintb_m(3) to provide multi-line bit/bit-field decode.
...
Discussed on tech-kern.
2009-05-13 02:50:31 +00:00
lukem
c5eb4ab601
fix -Wsign-compare issues
2009-01-18 11:56:51 +00:00
pooka
d21961207f
Include sys/param.h in the kernel to make the vax properly pick up
...
memset. Otherwise vax/macros.h doesn't get included and the usual
lossage ensues.
(I bet you saw that one coming)
2009-01-14 21:33:22 +00:00
christos
2d2593ab23
We don't need this for _STANDALONE, and it needs snprintf to work.
2008-12-17 16:02:27 +00:00
christos
cec60a5890
share with kernel; replaces bitmask_snprintf which was very broken:
...
- subtracted one from len without checking if len was 0
- checked for a minimum buffer size
- arguments order was inconsistent with other printf like functions
- no way to tell if it overflowed
2008-12-16 22:33:11 +00:00