From d2cd3bdaf1a196a9a74430deeb97e4e7d8987579 Mon Sep 17 00:00:00 2001 From: j30052480 Date: Tue, 9 Apr 2024 12:02:58 +0800 Subject: [PATCH] modify vdi path Signed-off-by: j30052480 --- framework/core/host/src/hdf_load_vdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/host/src/hdf_load_vdi.c b/framework/core/host/src/hdf_load_vdi.c index b5c9c79c0..da00463cc 100644 --- a/framework/core/host/src/hdf_load_vdi.c +++ b/framework/core/host/src/hdf_load_vdi.c @@ -31,7 +31,7 @@ struct HdfVdiObject *HdfLoadVdi(const char *libName) return NULL; } - if (snprintf_s(path, sizeof(path), sizeof(path) - 1, "%s/%s", VDI_PATH, libName) < 0) { + if (snprintf_s(path, sizeof(path), sizeof(path) - 1, "%s%s", VDI_PATH, libName) < 0) { HDF_LOGE("%{public}s %{public}s snprintf_s failed", __func__, libName); return NULL; } -- Gitee