HomeFreeBSD

pctrie: Fix size of printed value in KASSERT

Description

pctrie: Fix size of printed value in KASSERT

The value 'index' in a pctrie iterator cannot be written
with "%lx" on a 32-bit machine. Use '%jx' after a uintmax_t cast instead.

Reported by: bz
Fixes: bba883df5e88d0fb1133b23c05db5501dd321ad8

Details

Provenance
dougmAuthored on Sun, Feb 16, 9:24 PM
Parents
rG3afc0bfecb1a: net80211: crypto: ccmp: fix more hardware offload bits
Branches
Unknown
Tags
Unknown