Skip to content

Commit 826d023

Browse files
authored
Merge pull request #538 from martin-belanger/fix-uuid-size
fabrics: Fix bad UUID size introduced in recent UUID changes
2 parents eaee27c + 78ce352 commit 826d023

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nvme/fabrics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ static __u32 nvmf_get_tel(const char *hostsymname)
11271127
__u16 len;
11281128

11291129
/* Host ID is mandatory */
1130-
tel += nvmf_exat_size(NVME_UUID_LEN_STRING);
1130+
tel += nvmf_exat_size(NVME_UUID_LEN);
11311131

11321132
/* Symbolic name is optional */
11331133
len = hostsymname ? strlen(hostsymname) : 0;

0 commit comments

Comments
 (0)