aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dcons
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/dcons')
-rw-r--r--sys/dev/dcons/dcons.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/dcons/dcons.c b/sys/dev/dcons/dcons.c
index 25494a056671c..26774447ec101 100644
--- a/sys/dev/dcons/dcons.c
+++ b/sys/dev/dcons/dcons.c
@@ -651,6 +651,9 @@ dcons_modevent(module_t mode, int type, void *data)
break;
case MOD_SHUTDOWN:
break;
+ default:
+ err = EOPNOTSUPP;
+ break;
}
return(err);
}