summaryrefslogtreecommitdiffstats
path: root/sys/amd64/linux32/linux32_sysvec.c
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-12-03 21:06:07 +0000
committernetchild <netchild@FreeBSD.org>2006-12-03 21:06:07 +0000
commit8035e46d9a8b2ee6553f51d3bcc69a0420121ea4 (patch)
tree8fe4d7bf4cdb96bcb94dc59cc29120e2b1405a5c /sys/amd64/linux32/linux32_sysvec.c
parentb2ff0e08c0f8c38fb4eb09caa3bd62dd22922ccc (diff)
downloadFreeBSD-src-8035e46d9a8b2ee6553f51d3bcc69a0420121ea4.zip
FreeBSD-src-8035e46d9a8b2ee6553f51d3bcc69a0420121ea4.tar.gz
MFP4 (110939):
MFi386: return EOPNOTSUPP for unknown module events. Submitted by: rdivacky
Diffstat (limited to 'sys/amd64/linux32/linux32_sysvec.c')
-rw-r--r--sys/amd64/linux32/linux32_sysvec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c
index 9f44501..8490e65 100644
--- a/sys/amd64/linux32/linux32_sysvec.c
+++ b/sys/amd64/linux32/linux32_sysvec.c
@@ -1120,7 +1120,7 @@ linux_elf_modevent(module_t mod, int type, void *data)
printf("Could not deinstall ELF interpreter entry\n");
break;
default:
- break;
+ return EOPNOTSUPP;
}
return error;
}
OpenPOWER on IntegriCloud