diff options
author | emax <emax@FreeBSD.org> | 2009-02-02 21:34:04 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2009-02-02 21:34:04 +0000 |
commit | 058ee71e32f22c106bda887bfacf81049359c049 (patch) | |
tree | 750a4474ba44413d1dbea296b74dafe83c47714f /sys | |
parent | d140e8a9d2fea221bb0f4c12a6b639a92e2731e9 (diff) | |
download | FreeBSD-src-058ee71e32f22c106bda887bfacf81049359c049.zip FreeBSD-src-058ee71e32f22c106bda887bfacf81049359c049.tar.gz |
Properly retun error core from kbdmux_modevent()
Reported by: Christoph Mallon < christoph -dot- mallon -at- gmx -dot- de >
MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/kbdmux/kbdmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/kbdmux/kbdmux.c b/sys/dev/kbdmux/kbdmux.c index a979def..7a47683 100644 --- a/sys/dev/kbdmux/kbdmux.c +++ b/sys/dev/kbdmux/kbdmux.c @@ -1363,7 +1363,7 @@ kbdmux_modevent(module_t mod, int type, void *data) break; } - return (0); + return (error); } DEV_MODULE(kbdmux, kbdmux_modevent, NULL); |