1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-22 06:50:52 +03:00

cov: just be sure nsid is defined

This commit is contained in:
Zdenek Kabelac 2025-01-09 00:14:33 +01:00
parent d582ee591e
commit 970463fc46

View File

@ -165,7 +165,7 @@ void dev_read_nvme_wwids(struct device *dev)
unsigned char nguid[16] = {0};
unsigned char eui64[8] = {0};
unsigned char uuid[NVME_UUID_LEN] = {0};
uint32_t nsid;
uint32_t nsid = 0;
int fd, i, len;
dev->flags |= DEV_ADDED_NVME_WWIDS;