diff options
| -rw-r--r-- | xlators/storage/bdb/src/bdb.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/storage/bdb/src/bdb.c b/xlators/storage/bdb/src/bdb.c index 086d7d9e7..2b1208b97 100644 --- a/xlators/storage/bdb/src/bdb.c +++ b/xlators/storage/bdb/src/bdb.c @@ -3147,8 +3147,8 @@ bdb_checksum (call_frame_t *frame,          char          *real_path = NULL;          DIR           *dir       = NULL;          struct dirent *dirent    = NULL; -        uint8_t        file_checksum[ZR_FILENAME_MAX] = {0,}; -        uint8_t        dir_checksum[ZR_FILENAME_MAX]  = {0,}; +        uint8_t        file_checksum[NAME_MAX] = {0,}; +        uint8_t        dir_checksum[NAME_MAX]  = {0,};          int32_t        op_ret   = -1;          int32_t        op_errno = EINVAL;          int32_t        idx = 0, length = 0;  | 
