From 7e489f3cc7f3eb738d2698dcf588bad0bdc12a8b Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Thu, 8 Jul 2010 05:47:52 +0000 Subject: fix up OS X after dynamic volume changes Note that contrib is not needed to be in toplevel Makefile as its not a separate target, rather stuff is "pulled in" from there. Signed-off-by: Csaba Henk Signed-off-by: Anand V. Avati BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- libglusterfs/src/logging.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libglusterfs/src/logging.c') diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c index e7f616231..d5a38e6b6 100644 --- a/libglusterfs/src/logging.c +++ b/libglusterfs/src/logging.c @@ -216,12 +216,7 @@ log: strftime (timestr, 256, "%Y-%m-%d %H:%M:%S", tm); snprintf (timestr + strlen (timestr), 256 - strlen (timestr), -#ifdef GF_DARWIN_HOST_OS - ".%"PRId32, -#else - ".%ld", -#endif - tv.tv_usec); + ".%"GF_PRI_SUSECONDS, tv.tv_usec); basename = strrchr (file, '/'); if (basename) -- cgit