MFC r327289:
rpc.sprayd: Bring some changes from NetBSD.
Most notable, other than some style issues:
CVS 1.11:
do not use LOG_CONS.
CVS 1.13:
consistently use exit instead of return in main(). use LOG_WARNING instead of LOG_ERR for non critical errors.
Obtained from: NetBSD