mirror of
https://gitee.com/openharmony/startup_init
synced 2025-02-17 10:28:00 +00:00
commit
48fd01e9ae
@ -243,7 +243,7 @@ static int BatchSavePersistParam(PERSIST_SAVE_HANDLE handle[], const char *name,
|
||||
PARAM_CHECK(ret > 0, return -1, "Batchsavepersistparam fail, error %d", errno);
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
return (ret > 0) ? 0 : -1;
|
||||
}
|
||||
|
||||
static void BatchSavePersistParamEnd(PERSIST_SAVE_HANDLE handle[])
|
||||
|
Loading…
x
Reference in New Issue
Block a user