summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/call-stub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/call-stub.c b/libglusterfs/src/call-stub.c
index 0fd0b3d5a47..05f58a700b7 100644
--- a/libglusterfs/src/call-stub.c
+++ b/libglusterfs/src/call-stub.c
@@ -2073,10 +2073,10 @@ fop_checksum_cbk_stub (call_frame_t *frame,
if (op_ret >= 0)
{
stub->args.checksum_cbk.file_checksum =
- memdup (file_checksum, ZR_FILENAME_MAX);
+ memdup (file_checksum, NAME_MAX);
stub->args.checksum_cbk.dir_checksum =
- memdup (dir_checksum, ZR_FILENAME_MAX);
+ memdup (dir_checksum, NAME_MAX);
}
out:
return stub;