diff options
author | Brian Behlendorf <[email protected]> | 2009-12-01 10:14:01 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-12-01 10:14:01 -0800 |
commit | 6ff686c44dbc39f12cb57e930fb20199203514d9 (patch) | |
tree | 62c9e8f0c974e9260f8fc5fbc11ec06aa46b1289 /module | |
parent | f6ea161924b3fe4166faa1de709fce0049bf4b11 (diff) |
Type long expected explicitly cast for 32-bit systems.
Diffstat (limited to 'module')
-rw-r--r-- | module/splat/splat-rwlock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/splat/splat-rwlock.c b/module/splat/splat-rwlock.c index cf3670370..13140260c 100644 --- a/module/splat/splat-rwlock.c +++ b/module/splat/splat-rwlock.c @@ -591,8 +591,8 @@ splat_rwlock_test6(struct file *file, void *arg) rc = rw_tryupgrade(&rwp->rw_rwlock); if (!rc) { splat_vprint(file, SPLAT_RWLOCK_TEST6_NAME, - "rwlock contended preventing upgrade: %d\n", - RW_COUNT(&rwp->rw_rwlock)); + "rwlock contended preventing upgrade: %ld\n", + (long int)RW_COUNT(&rwp->rw_rwlock)); goto out; } |