summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarshavardhana Ranganath <harsha@gluster.com>2009-09-30 05:34:19 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-01 03:32:30 -0700
commit7ba890140fccdf58daa0b8dd1fa5586ebcd48a43 (patch)
treeab163670a340871ebf50c56f4dbf139bb1c71db9
parent359c46118b756e1a5191ec6e902709258aad903b (diff)
volgen script failed initial tests due to wrong fd definitionv2.0.7
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 288 (volgen script failed initial tests due to wrong fd definition) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=288
-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 d452a4099fd..d3783ab248f 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")