update patch for 32-bit

This commit is contained in:
Kaleb S KEITHLEY 2016-03-31 10:06:58 -04:00
parent b3a4f82167
commit f4828a9e36
1 changed files with 20 additions and 0 deletions

View File

@ -9,3 +9,23 @@
if (!inline_xdr_u_int32_t(xdrs, &crud))
return false;
--- nfs-ganesha-2.4-dev-12/src/FSAL/FSAL_VFS/file.c.orig 2016-03-31 10:02:07.605760250 -0400
+++ nfs-ganesha-2.4-dev-12/src/FSAL/FSAL_VFS/file.c 2016-03-31 10:04:38.076760250 -0400
@@ -1918,7 +1918,7 @@
}
LogFullDebug(COMPONENT_FSAL,
- "Locking: op:%d type:%d start:%" PRIu64 " length:%lu ",
+ "Locking: op:%d type:%d start:%" PRIu64 " length:%" PRIu64 " ",
lock_op, request_lock->lock_type, request_lock->lock_start,
request_lock->lock_length);
@@ -1973,7 +1973,7 @@
*/
if (lock_args.l_len < 0) {
LogCrit(COMPONENT_FSAL,
- "The requested lock length is out of range- lock_args.l_len(%ld), request_lock_length(%lu)",
+ "The requested lock length is out of range- lock_args.l_len(%ld), request_lock_length(%" PRIu64 ")",
lock_args.l_len, request_lock->lock_length);
return fsalstat(ERR_FSAL_BAD_RANGE, 0);
}