summaryrefslogtreecommitdiffstats
path: root/api/examples/gfapi.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/examples/gfapi.py')
-rw-r--r--api/examples/gfapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/examples/gfapi.py b/api/examples/gfapi.py
index e71a9866e65..8fc3bfa4c89 100644
--- a/api/examples/gfapi.py
+++ b/api/examples/gfapi.py
@@ -10,7 +10,7 @@ api = ctypes.CDLL("api/libgfapi.so",ctypes.RTLD_GLOBAL)
fs = api.glfs_new(sys.argv[1])
api.glfs_set_logging(fs,"/dev/stderr",7)
-api.glfs_set_volfile_server(fs,"socket","localhost",24007)
+api.glfs_set_volfile_server(fs,"tcp","localhost",24007)
api.glfs_init(fs)
print "Initialized volume"