Type long expected explicitly cast for 32-bit systems.
This commit is contained in:
parent
f6ea161924
commit
6ff686c44d
|
@ -591,8 +591,8 @@ splat_rwlock_test6(struct file *file, void *arg)
|
||||||
rc = rw_tryupgrade(&rwp->rw_rwlock);
|
rc = rw_tryupgrade(&rwp->rw_rwlock);
|
||||||
if (!rc) {
|
if (!rc) {
|
||||||
splat_vprint(file, SPLAT_RWLOCK_TEST6_NAME,
|
splat_vprint(file, SPLAT_RWLOCK_TEST6_NAME,
|
||||||
"rwlock contended preventing upgrade: %d\n",
|
"rwlock contended preventing upgrade: %ld\n",
|
||||||
RW_COUNT(&rwp->rw_rwlock));
|
(long int)RW_COUNT(&rwp->rw_rwlock));
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue