summaryrefslogtreecommitdiffstats
path: root/sys/net/if_spppsubr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r--sys/net/if_spppsubr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index bfc01f0..4c9f304 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -484,9 +484,8 @@ sppp_modevent(module_t mod, int type, void *unused)
break;
case MOD_UNLOAD:
return EACCES;
- break;
default:
- break;
+ return EOPNOTSUPP;
}
return 0;
}
OpenPOWER on IntegriCloud