diff options
author | Mohamed Ashiq <mliyazud@redhat.com> | 2015-08-12 15:21:17 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-09-01 01:53:32 -0700 |
commit | 038dfe57cf0c5944b0392332dbf5a00bb1208150 (patch) | |
tree | 857112e040be994b8f1eb3da1b69be994dcb7367 /libglusterfs/src/timespec.c | |
parent | 99cd07c596f74b1ee8a88c4a43b37eb0921e5fe2 (diff) |
libglusterfs:Porting log messages to new framework
Change-Id: I8625b7dc8941720cc7a864b8fddbcc7b4c485fcd
BUG: 1252836
Signed-off-by: Mohamed Ashiq <mliyazud@redhat.com>
Reviewed-on: http://review.gluster.org/11896
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Manikandan Selvaganesh <mselvaga@redhat.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'libglusterfs/src/timespec.c')
-rw-r--r-- | libglusterfs/src/timespec.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libglusterfs/src/timespec.c b/libglusterfs/src/timespec.c index 5242ecc8cd0..f7b2bea2f30 100644 --- a/libglusterfs/src/timespec.c +++ b/libglusterfs/src/timespec.c @@ -20,6 +20,7 @@ static mach_timebase_info_data_t gf_timebase; #include "logging.h" #include "timespec.h" +#include "libglusterfs-messages.h" void timespec_now (struct timespec *ts) { @@ -51,10 +52,6 @@ void timespec_now (struct timespec *ts) ts->tv_nsec = (time - (ts->tv_sec * GIGA)); #endif /* Platform verification */ - /* - gf_log_callingfn ("timer", GF_LOG_TRACE, "%"GF_PRI_TIME".%09"GF_PRI_TIME, - ts->tv_sec, ts->tv_nsec); - */ } void timespec_adjust_delta (struct timespec *ts, struct timespec delta) |