[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: Ibf6ab1299bcb6f09371856b02e7a610752405348
if (read(fd, buffer->data, info->bufsz) != info->bufsz) {
ErrPrint("read: %s\n", strerror(errno));
- close(fd);
+ if (close(fd) < 0) {
+ ErrPrint("close: %s\n", strerror(errno));
+ }
/*!
* \note
return LB_STATUS_SUCCESS;
}
- close(fd);
+ if (close(fd) < 0) {
+ ErrPrint("close: %s\n", strerror(errno));
+ }
return LB_STATUS_SUCCESS;
}