Fix parsing of mount options with '=' in their name.

PR:		bin/3027
Submitted by:	Louis Mamakos <louie@TransSys.COM>
This commit is contained in:
Mike Smith 1997-04-30 05:48:22 +00:00
parent aafb797228
commit 0a9bd6b010
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25301
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ getmntopts(options, m0, flagp, altflagp)
*/
p = strchr(opt, '=');
if (p)
*p = '\0';
*++p = '\0';
/* Scan option table. */
for (m = m0; m->m_option != NULL; ++m) {

View File

@ -78,7 +78,7 @@ getmntopts(options, m0, flagp, altflagp)
*/
p = strchr(opt, '=');
if (p)
*p = '\0';
*++p = '\0';
/* Scan option table. */
for (m = m0; m->m_option != NULL; ++m) {