diff options
Diffstat (limited to 'libglusterfs/src/iatt.h')
-rw-r--r-- | libglusterfs/src/iatt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/iatt.h b/libglusterfs/src/iatt.h index a17e0e7a40b..ce4cc495d0d 100644 --- a/libglusterfs/src/iatt.h +++ b/libglusterfs/src/iatt.h @@ -120,7 +120,7 @@ ia_minor (uint64_t ia_dev) static inline uint64_t ia_makedev (uint32_t ia_maj, uint32_t ia_min) { - return ((((uint64_t) ia_maj) << 32) & ia_min); + return ((((uint64_t) ia_maj) << 32) | ia_min); } |