freebsd-nq/sys
Warner Losh 108663cc87 ccs is a size_t. RAY_CCS_INDEX takes ccs and does math on it,
resulting in a size_t due to C's rules of arithmetic.  Rather than
bogusly cast the result to a uint8_t, fix the printf format specifier
to have a 'z' modifier which tells the compiler that the sizes really
do match.

It turns out that change 1.75 was incorrect to assume that this
'really' was a 8bit quantity.  It isn't.  Although the hardware
appears to limit things to < 256, it would be a bug that should be
caught by debug printf it it were.  Casting it to uint8_t would have
lost this useful information.

Aslo add 'z' to a nearby debug statement that's never compiled in.
2005-02-06 21:12:22 +00:00
..
alpha Since we are quite unlikely to ever face another platform which 2005-02-06 13:46:39 +00:00
amd64 Since we are quite unlikely to ever face another platform which 2005-02-06 13:46:39 +00:00
arm Finish the job of sorting all includes and fix the build by including 2005-02-06 01:55:08 +00:00
boot Insert an explicit McAfee license, as we use a stock two-clause BSD 2005-01-30 14:58:00 +00:00
bsm Add a stub audit_kevents.h, which defines exactly one audit event: 2005-02-02 14:27:36 +00:00
cam Boot away another stackgap (one of the lest ones in linuxlator/i386) by 2005-01-30 08:12:37 +00:00
coda Make filesystems get rid of their own vnodes vnode_pager object in 2005-01-28 14:42:17 +00:00
compat Boot away another stackgap (one of the lest ones in linuxlator/i386) by 2005-01-30 08:12:37 +00:00
conf Further elaborate the GPIB driver. We now support a minimal subset of 2005-02-06 15:22:23 +00:00
contrib - Split out PCI support. 2005-02-03 23:01:01 +00:00
crypto Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
ddb Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
dev ccs is a size_t. RAY_CCS_INDEX takes ccs and does math on it, 2005-02-06 21:12:22 +00:00
doc
fs Unbreak a few filesystems for which vnode_create_vobject() wasn't being 2005-01-29 16:23:39 +00:00
gdb /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
geom - Use bioq_insert_tail()/bioq_insert_head() instead of bioq_disksort(). 2005-02-05 00:30:08 +00:00
gnu Make filesystems get rid of their own vnodes vnode_pager object in 2005-01-28 14:42:17 +00:00
i4b /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
i386 When running Linux binaries, set up the initial FPU state as Linux 2005-02-06 17:29:20 +00:00
ia64 Since we are quite unlikely to ever face another platform which 2005-02-06 13:46:39 +00:00
isa Since we are quite unlikely to ever face another platform which 2005-02-06 13:46:39 +00:00
isofs/cd9660 Unbreak a few filesystems for which vnode_create_vobject() wasn't being 2005-01-29 16:23:39 +00:00
kern Add support for relative cpufreq drivers. Such drivers modulate clock 2005-02-06 21:08:35 +00:00
libkern MFlibc: Remove extra closing parenthesis. 2005-02-03 15:51:39 +00:00
modules Add ng_ipfw to kernel module build. 2005-02-05 12:09:38 +00:00
net Log changes of link state. 2005-01-30 12:57:47 +00:00
net80211 correct check for unicast key being setup; wpa_supplicant in particular 2005-02-03 16:21:07 +00:00
netatalk /* -> /*- for license, minor formatting changes, insert COPYRIGHT into files 2005-01-07 02:35:34 +00:00
netatm /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netgraph Whitespace. 2005-02-06 19:24:59 +00:00
netinet Jump to common action checks after doing specific once. This fixes adding 2005-02-06 11:13:59 +00:00
netinet6 we don't need to make fake sockaddr_in6 to compare subject address. 2005-01-21 18:12:46 +00:00
netipsec /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netipx Mark the IPX netisr as MPSAFE so that inbound IPX traffic is processed 2005-01-09 07:34:55 +00:00
netkey fixed an unexpected addr/port matching failure in IPv6 SA management 2005-01-10 13:06:42 +00:00
netnatm /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netncp /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netsmb /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4client Remove unused cred arg from nfs_vinvalbuf() and many bogus arguments 2005-01-24 12:31:06 +00:00
nfsclient Style cleanup for O_DIRECT sysctl comment introduced in nfs_vnops.c:1.242. 2005-01-29 23:19:08 +00:00
nfsserver Don't try to create vnode_pager objects on other filesystems vnodes, 2005-01-24 22:09:13 +00:00
opencrypto /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
pc98 Sort includes and remove duplicate include. 2005-02-06 13:31:22 +00:00
pccard /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
pci Cleanup debugging code and put it under bootverbose 2005-01-29 19:26:53 +00:00
posix4 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
powerpc Finish the job of sorting all includes and fix the build by including 2005-02-06 01:55:08 +00:00
rpc /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
security Update copyright for NETA->McAfee. 2005-01-30 12:38:47 +00:00
sparc64 Since we are quite unlikely to ever face another platform which 2005-02-06 13:46:39 +00:00
sys Finish the import of nc(1) from OpenBSD. This includes: 2005-02-06 14:44:27 +00:00
tools Get rid of the VDESC() macro while the pot is boiling anyway, it is 2005-01-13 08:05:20 +00:00
ufs - Use a seperate malloc tag for saved inode contents to help in debugging 2005-02-02 20:30:47 +00:00
vm Set the scheduling class of the zeroidle thread to PRI_IDLE. 2005-02-04 06:18:31 +00:00
Makefile Add a NO_BOOT knob to prevent building the boot blocks and loader. 2004-08-19 09:54:28 +00:00