From e39606c411bad57de5891965628f6ac278df42ee Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 25 Oct 2014 23:06:18 +0100 Subject: make regex wrapper return errors instead of just aborting --- utils/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/utils.h') diff --git a/utils/utils.h b/utils/utils.h index 80298a4a7..9be859e59 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -163,7 +163,7 @@ bool is_dir(const char *path); * * Parameters as for regcomp(), see man regex. */ -void regcomp_wrapper(regex_t *preg, const char *regex, int cflags); +nserror regcomp_wrapper(regex_t *preg, const char *regex, int cflags); /** * Create a human redable representation of a size in bytes. -- cgit v1.2.3