aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/pcpu.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-07-10 15:27:05 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-07-10 15:27:05 +0000
commit82941964305894b84da3b17411dc3f12146b618a (patch)
tree34fd00aae46a5211f5b2e1391ef0e60f7dbfa136 /sys/amd64/include/pcpu.h
parentc618090a83dd5063f982292d0bbfb0b288aedfa4 (diff)
downloadsrc-82941964305894b84da3b17411dc3f12146b618a.tar.gz
src-82941964305894b84da3b17411dc3f12146b618a.zip
Fixes for a couple of problems in last commit:
1. Printing large quads in small bases overflowed the buffer if sizeof(u_quad_t) > sizeof(u_long). 2. The sharpflag checks had operator precedence bugs due to excessive parentheses in all the wrong places. 3. The explicit 0L was bogus in the quad_t comparison and useless in the long comparision. 4. There was some more bitrot in the comment about ksprintn(). Our ksprintn() handles bases up to 36 as well as down to 2. Bruce has other complaints about using %q in kernel and would rather we went towards using the C9X style %ll and/or %j. (I agree for that matter, as long as gcc/egcs know how to deal with that.) Submitted by: bde
Notes
Notes: svn path=/head/; revision=48728
Diffstat (limited to 'sys/amd64/include/pcpu.h')
0 files changed, 0 insertions, 0 deletions