summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_echo.c')
-rw-r--r--sys/netgraph/ng_echo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_echo.c b/sys/netgraph/ng_echo.c
index a00447a..e9daf5e 100644
--- a/sys/netgraph/ng_echo.c
+++ b/sys/netgraph/ng_echo.c
@@ -100,10 +100,10 @@ nge_rcvmsg(node_p node, item_p item, hook_p lasthook)
static int
nge_rcvdata(hook_p hook, item_p item)
{
- int error = 0;
+ int error;
NG_FWD_ITEM_HOOK(error, item, hook);
- return (0);
+ return (error);
}
/*
OpenPOWER on IntegriCloud