mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Style change
This commit is contained in:
parent
ac198ea654
commit
adfdbe2253
2 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ getmntopts(options, m0, flagp, altflagp)
|
|||
* ignore the assignment as it's handled elsewhere
|
||||
*/
|
||||
p = strchr(opt, '=');
|
||||
if (p)
|
||||
if (p != NULL)
|
||||
*++p = '\0';
|
||||
|
||||
/* Scan option table. */
|
||||
|
|
|
|||
|
|
@ -602,7 +602,7 @@ mangle(options, argcp, argv)
|
|||
if (*p == '-') {
|
||||
argv[argc++] = p;
|
||||
p = strchr(p, '=');
|
||||
if (p) {
|
||||
if (p != NULL) {
|
||||
*p = '\0';
|
||||
argv[argc++] = p+1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue