Zdenek Kabelac <zkabelac at redhat.com> writes: >> + struct lvm_property_type prop; >> + >> + strncpy(prop.id, name, LVM_PROPERTY_NAME_LEN); > > Hmmm why doing a copy here instead of passing/assigning 'name' ptr somewhere? Because lvm_property_type says: char id[LVM_PROPERTY_NAME_LEN]; Yours, Petr.