View | Details | Raw Unified | Return to bug 221855
Collapse All | Expand All

(-)b/sys/geom/geom_subr.c (-3 / +2 lines)
Lines 914-921 g_access(struct g_consumer *cp, int dcr, int dcw, int dce) Link Here
914
		return (EPERM);
914
		return (EPERM);
915
	/* If we try to open more but provider is error'ed: fail */
915
	/* If we try to open more but provider is error'ed: fail */
916
	else if ((dcr > 0 || dcw > 0 || dce > 0) && pp->error != 0) {
916
	else if ((dcr > 0 || dcw > 0 || dce > 0) && pp->error != 0) {
917
		printf("%s(%d): provider %s has error\n",
917
		printf("%s(%d): provider %s has error %d set\n",
918
		       __func__, __LINE__, pp->name);
918
		    __func__, __LINE__, pp->name, pp->error);
919
		return (pp->error);
919
		return (pp->error);
920
	}
920
	}
921
921
922
- 

Return to bug 221855