X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=fs%2Fhfs%2Fsuper.c;h=345651903fe0068144101ebabea6adcad2f79603;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=2b7d0b21d8968babcebcd77cdfd178cf0b6f1681;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/fs/hfs/super.c b/fs/hfs/super.c index 2b7d0b21d..345651903 100644 --- a/fs/hfs/super.c +++ b/fs/hfs/super.c @@ -161,7 +161,7 @@ static int parse_options(char *options, struct hfs_sb_info *hsb) if (!options) return 1; - while ((this_char = strsep(&options, ","))) { + while ((this_char = strsep(&options, ",")) != 0) { if (!*this_char) continue; value = strchr(this_char, '=');