Ilya Bakulin 1a22fb3f5e Refactor error handling
There is some code duplication in error handling paths in a few functions.
Create a function for printing such errors in human-readable way and get rid
of duplicates.

Approved by:	imp (mentor)
Differential Revision:	https://reviews.freebsd.org/D15912
2019-04-01 18:54:15 +00:00
..
2018-01-16 23:19:57 +00:00
2019-04-01 18:54:15 +00:00
2018-06-19 20:02:03 +00:00
2018-06-19 20:02:03 +00:00