diff options
Diffstat (limited to 'heal')
-rw-r--r-- | heal/src/glfs-heal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/heal/src/glfs-heal.c b/heal/src/glfs-heal.c index 207e47297b5..2f120c9bd3d 100644 --- a/heal/src/glfs-heal.c +++ b/heal/src/glfs-heal.c @@ -19,6 +19,7 @@ #include "syncop-utils.h" #include <string.h> #include <time.h> +#include "glusterfs.h" #define DEFAULT_HEAL_LOG_FILE_DIRECTORY DATADIR "/log/glusterfs" #define USAGE_STR "Usage: %s <VOLNAME> [bigger-file <FILE> | "\ @@ -756,7 +757,7 @@ main (int argc, char **argv) goto out; } - ret = glfs_set_volfile_server (fs, "tcp", "localhost", 24007); + ret = glfs_set_volfile_server (fs, "unix", DEFAULT_GLUSTERD_SOCKFILE, 0); if (ret) { printf("Setting the volfile server failed, %s\n", strerror (errno)); goto out; |