summaryrefslogtreecommitdiffstats
path: root/extras/glusterfs-volgen.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/glusterfs-volgen.py')
-rw-r--r--extras/glusterfs-volgen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/glusterfs-volgen.py b/extras/glusterfs-volgen.py
index d452a40..d3783ab 100644
--- a/extras/glusterfs-volgen.py
+++ b/extras/glusterfs-volgen.py
@@ -196,8 +196,8 @@ def print_export_volume (exp_fd, export_dir):
exp_fd.write ("# Cmd line:\n")
exp_fd.write ("# $ %s\n\n" % cmdline)
- mount_fd.write ("# TRANSPORT-TYPE %s\n" % transport_type)
- mount_fd.write ("# PORT %d\n\n" % gfs_port)
+ exp_fd.write ("# TRANSPORT-TYPE %s\n" % transport_type)
+ exp_fd.write ("# PORT %d\n\n" % gfs_port)
exp_fd.write ("volume posix\n")
exp_fd.write (" type storage/posix\n")