mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25301
@ -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 New Issue
Block a user