打印告警修改 Signed-off-by:baozewei@huawei.com

Signed-off-by: baozewei <baozewei@huawei.com>
This commit is contained in:
baozewei 2024-11-12 09:44:53 +08:00
parent b10ee8e3d4
commit b27de7e46d

View File

@ -119,7 +119,7 @@ uint32_t PrintTask::Start(napi_env env, napi_callback_info info)
uint32_t ret = CallSpooler(env, info, adapterParam, false);
if (ret != E_PRINT_NONE) {
PRINT_HILOGE("CallSpooler failed.");
for (auto fd : fdlist_) {
for (auto fd : fdList_) {
close(fd);
}
fdList_.clear();