Return 0, not NULL, from a function declared as returning int.
This commit is contained in:
parent
4e8ba8de26
commit
7ea5573cd8
@ -496,7 +496,7 @@ ng_ether_rcvdata(hook_p hook, item_p item)
|
||||
return ng_ether_rcv_upper(node, m);
|
||||
panic("%s: weird hook", __func__);
|
||||
#ifdef RESTARTABLE_PANICS /* so we don't get an error msg in LINT */
|
||||
return NULL;
|
||||
return (0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user