Fix INVARIANTS build on amd64; (unsigned unsigned long) != u_int64_t.

Submitted by:	mlaier
This commit is contained in:
Robert Watson 2006-02-03 23:50:26 +00:00
parent 3ecf1851df
commit fac3e318aa

View File

@ -674,9 +674,9 @@ audit_arg_upath(struct thread *td, char *upath, u_int64_t flag)
* XXXAUDIT: Witness warning for possible sleep here?
*/
KASSERT((flag == ARG_UPATH1) || (flag == ARG_UPATH2),
("audit_arg_upath: flag %llu", flag));
("audit_arg_upath: flag %llu", (unsigned long long)flag));
KASSERT((flag != ARG_UPATH1) || (flag != ARG_UPATH2),
("audit_arg_upath: flag %llu", flag));
("audit_arg_upath: flag %llu", (unsigned long long)flag));
ar = currecord();
if (ar == NULL)