Signed-off-by: Karel Zak <kzak@redhat.com>
v = blkid_probe_assign_value(pr, "UUID");
if (v) {
memcpy((char *) v->data, str, len);
- v->data[len - 1] = '\0';
+ *(v->data + len) = '\0';
v->len = len;
return 0;
}
ID_FS_TYPE=ddf_raid_member
ID_FS_USAGE=raid
-ID_FS_UUID=8Z_I__B_8Z_I_e_I_q_I___
-ID_FS_UUID_ENC=8Z\xb0I\x95\x10B\x028Z\xb0I\xc8e\xb0I\xb8q\xb0I\xff\xff\xff
+ID_FS_UUID=8Z_I__B_8Z_I_e_I_q_I____
+ID_FS_UUID_ENC=8Z\xb0I\x95\x10B\x028Z\xb0I\xc8e\xb0I\xb8q\xb0I\xff\xff\xff\xff
ID_FS_VERSION=02.00.00