mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Return 0, not NULL, from a function declared as returning int.
This commit is contained in:
parent
4e8ba8de26
commit
7ea5573cd8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136312
@ -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