dm: mei: add zero termination to devpath
Reset directory name to receive clean prints. Tracked-On: #1847 Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Acked-by: Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
parent
87fbb7003d
commit
7bd2976f9c
|
@ -806,6 +806,7 @@ static int vmei_me_client_scan_list(struct virtio_mei *vmei)
|
|||
struct mei_client_properties props;
|
||||
|
||||
memset(&props, 0, sizeof(props));
|
||||
devpath[d_offset] = '\0';
|
||||
|
||||
DPRINTF("found client %s %s\n", ent->d_name, devpath);
|
||||
|
||||
|
|
Loading…
Reference in New Issue