mirror of
https://github.com/openharmony/utils_native_lite.git
synced 2026-07-19 14:33:34 -04:00
fix first api version dump info
This commit is contained in:
@@ -34,7 +34,7 @@ static const char* GetSdkApiLevel()
|
||||
static const char* GetFirstApiLevel()
|
||||
{
|
||||
static char firstApiVersion[API_VERSION_LEN] = {0};
|
||||
int firstApi = GetSdkApiVersion();
|
||||
int firstApi = GetFirstApiVersion();
|
||||
sprintf_s(firstApiVersion, API_VERSION_LEN, "%d", firstApi);
|
||||
return firstApiVersion;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user