Hi Brian,
error("Controller capabilities malformed, size %lu != %u",
Note that it might make things prettier/easier to use %zu instead. Refer to 'man 3 printf'
- sizeof(rp->cap_len) + rp->cap_len, length); + (long) sizeof(rp->cap_len) + rp->cap_len, length); return; }
Regards, -Denis