summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/graph.c
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2010-07-08 05:47:52 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-08 05:25:02 -0700
commit7e489f3cc7f3eb738d2698dcf588bad0bdc12a8b (patch)
treec99e2e430e0f51f0526c467141e9dd2087c0fca4 /libglusterfs/src/graph.c
parentc35f6bf8f735eaf35c950d7b7789f6b64ba2c8c0 (diff)
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 <csaba@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'libglusterfs/src/graph.c')
-rw-r--r--libglusterfs/src/graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/graph.c b/libglusterfs/src/graph.c
index d5fcafd68..a0c4c122f 100644
--- a/libglusterfs/src/graph.c
+++ b/libglusterfs/src/graph.c
@@ -416,7 +416,7 @@ fill_uuid (char *uuid, int size)
localtime_r (&tv.tv_sec, &now);
strftime (now_str, 32, "%Y/%m/%d-%H:%M:%S", &now);
- snprintf (uuid, size, "%s-%d-%s:%ld",
+ snprintf (uuid, size, "%s-%d-%s:%"GF_PRI_SUSECONDS,
hostname, getpid(), now_str, tv.tv_usec);
return;