mirror of
https://gitee.com/openharmony/startup_init
synced 2024-12-13 22:21:05 +00:00
!1179 fix build for 64
Merge pull request !1179 from cheng_jinsong/fixbuild
This commit is contained in:
commit
30fc2ab6b8
@ -88,7 +88,7 @@ static int32_t BShellParamCmdWatch(BShellHandle shell, int32_t argc, char *argv[
|
|||||||
{
|
{
|
||||||
PLUGIN_CHECK(argc >= 1, return -1, "Invalid parameter");
|
PLUGIN_CHECK(argc >= 1, return -1, "Invalid parameter");
|
||||||
PLUGIN_LOGV("BShellParamCmdWatch %s", argv[1]);
|
PLUGIN_LOGV("BShellParamCmdWatch %s", argv[1]);
|
||||||
static int index = 0;
|
static size_t index = 0;
|
||||||
int ret = SystemWatchParameter(argv[1], HandleParamChange, (void *)index);
|
int ret = SystemWatchParameter(argv[1], HandleParamChange, (void *)index);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
PLUGIN_LOGE("Failed to watch %s", argv[1]);
|
PLUGIN_LOGE("Failed to watch %s", argv[1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user