Style change

This commit is contained in:
Tom Rhodes 2003-12-07 23:02:16 +00:00
parent ac198ea654
commit adfdbe2253
2 changed files with 2 additions and 2 deletions

View File

@ -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. */

View File

@ -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;
}