summaryrefslogtreecommitdiff
path: root/sys/dev/snp/snp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/snp/snp.c')
-rw-r--r--sys/dev/snp/snp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c
index 3d4b2d4a409a..a352707d6e47 100644
--- a/sys/dev/snp/snp.c
+++ b/sys/dev/snp/snp.c
@@ -650,6 +650,7 @@ snp_modevent(mod, type, data)
ldisc_deregister(snooplinedisc);
break;
default:
+ return (EOPNOTSUPP);
break;
}
return (0);