Browse Source

use correct define for OSX in util.c

Kano 12 years ago
parent
commit
bab9ba9603
1 changed files with 2 additions and 2 deletions
  1. 2 2
      util.c

+ 2 - 2
util.c

@@ -1915,7 +1915,7 @@ void _cgsem_post(cgsem_t *cgsem, const char *file, const char *func, const int l
 
 
 	ret = write(cgsem->pipefd[1], &buf, 1);
 	ret = write(cgsem->pipefd[1], &buf, 1);
 	if (unlikely(ret == 0))
 	if (unlikely(ret == 0))
-		applog(LOG_WARNING, "Failed to write errno=%d" INFMTFFL, errno, file, func, line);
+		applog(LOG_WARNING, "Failed to write errno=%d" IN_FMT_FFL, errno, file, func, line);
 }
 }
 
 
 void _cgsem_wait(cgsem_t *cgsem, const char *file, const char *func, const int line)
 void _cgsem_wait(cgsem_t *cgsem, const char *file, const char *func, const int line)
@@ -1925,7 +1925,7 @@ void _cgsem_wait(cgsem_t *cgsem, const char *file, const char *func, const int l
 
 
 	ret = read(cgsem->pipefd[0], &buf, 1);
 	ret = read(cgsem->pipefd[0], &buf, 1);
 	if (unlikely(ret == 0))
 	if (unlikely(ret == 0))
-		applog(LOG_WARNING, "Failed to read errno=%d" INFMTFFL, errno, file, func, line);
+		applog(LOG_WARNING, "Failed to read errno=%d" IN_FMT_FFL, errno, file, func, line);
 }
 }
 
 
 void _cgsem_destroy(cgsem_t *cgsem)
 void _cgsem_destroy(cgsem_t *cgsem)