use err.h instead of libsrslog