mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 22:27:47 -04:00
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
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue