diff options
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/common-utils.c | 4 | ||||
-rw-r--r-- | libglusterfs/src/globals.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libglusterfs/src/common-utils.c b/libglusterfs/src/common-utils.c index 6882b6c3178..6d03b09a943 100644 --- a/libglusterfs/src/common-utils.c +++ b/libglusterfs/src/common-utils.c @@ -2154,7 +2154,7 @@ mask_match(const uint32_t a, const uint32_t b, const uint32_t m) char * uuid_utoa (uuid_t uuid) { - char *uuid_buffer = glusterfs_uuid_buf_get(THIS->ctx); + char *uuid_buffer = glusterfs_uuid_buf_get (); uuid_unparse (uuid, uuid_buffer); return uuid_buffer; } @@ -2173,7 +2173,7 @@ uuid_utoa_r (uuid_t uuid, char *dst) char * lkowner_utoa (gf_lkowner_t *lkowner) { - char *lkowner_buffer = glusterfs_lkowner_buf_get(THIS->ctx); + char *lkowner_buffer = glusterfs_lkowner_buf_get (); lkowner_unparse (lkowner, lkowner_buffer, GF_LKOWNER_BUF_SIZE); return lkowner_buffer; } diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h index ce1c64475f4..b9eaf8ad131 100644 --- a/libglusterfs/src/globals.h +++ b/libglusterfs/src/globals.h @@ -63,9 +63,9 @@ void *synctask_get (); int synctask_set (void *); /* uuid_buf */ -char *glusterfs_uuid_buf_get(); +char *glusterfs_uuid_buf_get (); /* lkowner_buf */ -char *glusterfs_lkowner_buf_get(); +char *glusterfs_lkowner_buf_get (); /* init */ int glusterfs_globals_init (glusterfs_ctx_t *ctx); |