make getmntent_r discard long lines when it returns error, not seek back