View | Details | Raw Unified | Return to bug 168158 | Differences between
and this patch

Collapse All | Expand All

(-)sys/contrib/openzfs/lib/libshare/os/freebsd/nfs.c (-1 / +3 lines)
Lines 93-99 translate_opts(char *oldopts, FILE *out) Link Here
93
		return (EOF);
93
		return (EOF);
94
	newopts[0] = '\0';
94
	newopts[0] = '\0';
95
	s = oldopts;
95
	s = oldopts;
96
	while ((o = strsep(&s, "-, ")) != NULL) {
96
	while ((o = strsep(&s, ", ")) != NULL) {
97
		if (o[0] == '-')
98
			o++;
97
		if (o[0] == '\0')
99
		if (o[0] == '\0')
98
			continue;
100
			continue;
99
		for (i = 0; i < ARRAY_SIZE(known_opts); ++i) {
101
		for (i = 0; i < ARRAY_SIZE(known_opts); ++i) {

Return to bug 168158