summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs/union_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/unionfs/union_subr.c')
-rw-r--r--sys/fs/unionfs/union_subr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/unionfs/union_subr.c b/sys/fs/unionfs/union_subr.c
index 8d05f8c..99b86ea 100644
--- a/sys/fs/unionfs/union_subr.c
+++ b/sys/fs/unionfs/union_subr.c
@@ -1363,6 +1363,7 @@ union_modevent(module_t mod, int type, void *data)
union_dircheckp = NULL;
break;
default:
+ return EOPNOTSUPP;
break;
}
return 0;
OpenPOWER on IntegriCloud