summaryrefslogtreecommitdiffstats
path: root/sys/dev/etherswitch/etherswitch.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/etherswitch/etherswitch.c')
-rw-r--r--sys/dev/etherswitch/etherswitch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/etherswitch/etherswitch.c b/sys/dev/etherswitch/etherswitch.c
index 0d4d18b..1f4b0dc 100644
--- a/sys/dev/etherswitch/etherswitch.c
+++ b/sys/dev/etherswitch/etherswitch.c
@@ -295,7 +295,7 @@ etherswitchiowrite(struct cdev *cdev, struct uio *uio, int ioflag)
break;
}
- return (0);
+ return (error);
}
MODULE_VERSION(etherswitch, 1);
OpenPOWER on IntegriCloud