Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libltfs/tape.c
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,7 @@ int tape_set_cart_coherency(struct device_data *dev, const tape_partition_t part
coh_data[30] = 0; /* Size of APPLICATION CLIENT SPECIFIC INFORMATION (Byte 1) */
coh_data[31] = 43; /* Size of APPLICATION CLIENT SPECIFIC INFORMATION (Byte 0) */
/* Size of the buffer to insert 'LTFS' needs to be size of 5 for the 4 letters and the null terminator*/
arch_strncpy((char *)coh_data + 32,"LTFS", 5, 4);
arch_strncpy((char *)coh_data + 32,"LTFS", 5, 5);
memcpy(coh_data + 37, coh->uuid, 37);
/*
Version field
Expand Down
Loading