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:
Marc Dionne 2010-07-02 09:10:06 -04:00 committed by Derrick Brashear
parent c66ba55bd8
commit b23d86e430

View File

@ -333,7 +333,7 @@ afs_NoCacheFetchProc(register struct rx_call *acall,
if (code != sizeof(afs_int32)) {
result = 0;
afs_warn("Preread error. code: %d instead of %d\n",
code, sizeof(afs_int32));
code, (int)sizeof(afs_int32));
unlock_and_release_pages(auio);
goto done;
} else