Various patches are applied
[platform/framework/web/data-provider-master.git] / src / critical_log.c
index 38ad835..e4da632 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2013  Samsung Electronics Co., Ltd
  *
- * Licensed under the Flora License, Version 1.0 (the "License");
+ * Licensed under the Flora License, Version 1.1 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
@@ -87,6 +87,7 @@ HAPI int critical_log(const char *func, int line, const char *fmt, ...)
                return LB_STATUS_ERROR_IO;
 
        if (gettimeofday(&tv, NULL) < 0) {
+               ErrPrint("gettimeofday: %s\n", strerror(errno));
                tv.tv_sec = 0;
                tv.tv_usec = 0;
        }