Lines Matching defs:newopts
973 char *saveopt, *optstr, *opts, *newopts, *val;
992 newopts = malloc(optlen);
993 if (opts == NULL || newopts == NULL) {
997 if (newopts)
998 free(newopts);
1001 newopts[0] = '\0';
1215 if (newopts[0])
1216 strcat(newopts, ",");
1217 strcat(newopts, saveopt);
1222 if (newopts[0])
1223 strcat(newopts, ",");
1224 strcat(newopts, MNTOPT_XATTR);
1226 strcpy(mnt->mnt_mntopts, newopts);
1227 free(newopts);