mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
Linux: cache bypass: warning fix in afs_bypasscache.c
Cast the printf argument to int to match the format specifier. Change-Id: I4300c8a407c99c40e116a6e166a76112fb92d254 Reviewed-on: http://gerrit.openafs.org/2323 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
c66ba55bd8
commit
b23d86e430
@ -333,7 +333,7 @@ afs_NoCacheFetchProc(register struct rx_call *acall,
|
|||||||
if (code != sizeof(afs_int32)) {
|
if (code != sizeof(afs_int32)) {
|
||||||
result = 0;
|
result = 0;
|
||||||
afs_warn("Preread error. code: %d instead of %d\n",
|
afs_warn("Preread error. code: %d instead of %d\n",
|
||||||
code, sizeof(afs_int32));
|
code, (int)sizeof(afs_int32));
|
||||||
unlock_and_release_pages(auio);
|
unlock_and_release_pages(auio);
|
||||||
goto done;
|
goto done;
|
||||||
} else
|
} else
|
||||||
|
Loading…
Reference in New Issue
Block a user