From: Michal Rakowski Date: Fri, 15 Oct 2021 15:52:52 +0000 (+0200) Subject: Extend 'berrno' class with Bacula-specific error handling X-Git-Tag: Beta-15.0.0~816 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2b04cf1403c9cf872589a29ca872dba07cef0af;p=thirdparty%2Fbacula.git Extend 'berrno' class with Bacula-specific error handling --- diff --git a/bacula/src/lib/berrno.c b/bacula/src/lib/berrno.c index 746a134fc..7ddf4d88a 100644 --- a/bacula/src/lib/berrno.c +++ b/bacula/src/lib/berrno.c @@ -37,10 +37,22 @@ extern int num_execvp_errors; extern int execvp_errors[]; #endif +const char *berrno::get_berr_msg() +{ + for (uint32_t i=0; i