summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/gate/g_gate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/gate/g_gate.c b/sys/geom/gate/g_gate.c
index 4668235..f70068f 100644
--- a/sys/geom/gate/g_gate.c
+++ b/sys/geom/gate/g_gate.c
@@ -635,6 +635,7 @@ g_gate_modevent(module_t mod, int type, void *data)
destroy_dev(status_dev);
break;
default:
+ return (EOPNOTSUPP);
break;
}
OpenPOWER on IntegriCloud