Style change
This commit is contained in:
parent
ac198ea654
commit
adfdbe2253
@ -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…
x
Reference in New Issue
Block a user