diff --git a/location/gnss/hdi_service/location_vendor_interface.cpp b/location/gnss/hdi_service/location_vendor_interface.cpp index 6c98455fdc70ca6ced0891bd60794baa55229811..f18e61ef0996a1e79b69763809da394dd7e89bf1 100644 --- a/location/gnss/hdi_service/location_vendor_interface.cpp +++ b/location/gnss/hdi_service/location_vendor_interface.cpp @@ -70,7 +70,7 @@ void LocationVendorInterface::Init() HDF_LOGE("%{public}s:dlopen %{public}s failed: %{public}s", __func__, VENDOR_NAME.c_str(), dlerror()); return; } - GnssVendorDevice *gnssDevice = static_cast(dlsym(vendorHandle_, "GnssVendorInterface")); + GnssVendorDevice *gnssDevice = static_cast(dlsym(vendorHandle_, "GnssVendorEntry")); if (gnssDevice == nullptr) { HDF_LOGE("%{public}s:dlsym GnssInterface failed.", __func__); return;