Return 0, not NULL, from a function declared as returning int.

This commit is contained in:
Dag-Erling Smørgrav 2004-10-09 14:20:18 +00:00
parent 4e8ba8de26
commit 7ea5573cd8

View File

@ -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
}