**************************************************************************/
+#include "config.h"
+
#include "tbm_bufmgr_int.h"
#include "tbm_sync.h"
#define ERRNO_BUF_SIZE 256
+/* LCOV_EXCL_START */
static inline void
_log_errno()
{
int errnum = errno;
char buf[ERRNO_BUF_SIZE];
- if (strerror_r(errnum, buf, ERRNO_BUF_SIZE) == 0)
- TBM_LOG_E("errno : %d(%s)\n", errnum, buf);
- else
- TBM_LOG_E("errno : %d()\n", errnum);
+ if (strerror_r(errnum, buf, ERRNO_BUF_SIZE) == 0) {
+ TBM_ERR("errno : %d(%s)\n", errnum, buf);
+ return;
+ } else {
+ TBM_ERR("errno : %d()\n", errnum);
+ return;
+ }
}
static inline void
return data.fence;
}
+/* LCOV_EXCL_STOP */