diff options
Diffstat (limited to 'api/src/glfs.c')
-rw-r--r-- | api/src/glfs.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c index 2b98a2843e0..421374d9731 100644 --- a/api/src/glfs.c +++ b/api/src/glfs.c @@ -242,7 +242,7 @@ get_volfp (struct glfs *fs) if ((specfp = fopen (cmd_args->volfile, "r")) == NULL) { gf_log ("glfs", GF_LOG_ERROR, - "volume file %s: %s", + "volume file %s open failed: %s", cmd_args->volfile, strerror (errno)); return NULL; @@ -546,6 +546,12 @@ glfs_poller (void *data) return NULL; } +/* + * please note all the variable initializations done here probably + * need to be added in 'glfs_new_from_ctx()' as well, so that, + * we do not miss out while adding new members in 'fs'. +*/ + struct glfs * pub_glfs_new (const char *volname) |