]> andersk Git - moira.git/commitdiff
be sure to trim whitespace off of fsgroup names
authormar <mar>
Tue, 27 Feb 1990 18:56:02 +0000 (18:56 +0000)
committermar <mar>
Tue, 27 Feb 1990 18:56:02 +0000 (18:56 +0000)
gen/hesiod.qc

index 0d910bb79cc15a3ee6e2fb4b4776838f75818c7c..77b5387ca8ac058013cb31d093529be1aae01b90 100644 (file)
@@ -415,7 +415,7 @@ do_filsys()
                fprintf(out, "%s.filsys\tHS UNSPECA \"ERR %s\"\n",
                        name, strtrim(comments));
            } else if (!strcmp(type, "FSGROUP")) {
-               sprintf(trans, "%s:%d", name, fid);
+               sprintf(trans, "%s:%d", strtrim(name), fid);
                sq_save_data(sq, strsave(trans));
            }
 ##  }
This page took 0.038575 seconds and 5 git commands to generate.