Fix parsing of mount options with '=' in their name.
PR: bin/3027 Submitted by: Louis Mamakos <louie@TransSys.COM>
This commit is contained in:
parent
aafb797228
commit
0a9bd6b010
sbin
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user