commit | 49ee9a8b093b5acf4c80fca26612070cac20beac | [log] [tgz] |
---|---|---|
author | Koushik Dutta <koushd@gmail.com> | Wed Feb 09 16:15:54 2011 -0800 |
committer | Koushik Dutta <koushd@gmail.com> | Wed Feb 09 16:15:54 2011 -0800 |
tree | 72d9c062b42ce63807a96cbe98b56ffa544bba29 | |
parent | 64d79c6531eea2df8d4c7702a51fce262da635dd [diff] [blame] |
Defer to fstype2 if found. Use auto fs if two fstypes are specified Change-Id: Id6ee1fed1eebbaa6d3a9e6117910f00a56378da4
diff --git a/extendedcommands.c b/extendedcommands.c index 6b2b582..c6e9dc2 100644 --- a/extendedcommands.c +++ b/extendedcommands.c
@@ -974,7 +974,7 @@ fprintf(file, "%s ", device); fprintf(file, "%s ", path); - fprintf(file, "%s rw\n", vol->fs_type); + fprintf(file, "%s rw\n", vol->fs_type2 != NULL ? "auto" : vol->fs_type); } void create_fstab()