diff options
Diffstat (limited to 'source4/heimdal_build/glue.c')
-rw-r--r-- | source4/heimdal_build/glue.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/heimdal_build/glue.c b/source4/heimdal_build/glue.c index 106a733a94..d3ac8ee5b2 100644 --- a/source4/heimdal_build/glue.c +++ b/source4/heimdal_build/glue.c @@ -23,6 +23,7 @@ #include "includes.h" #include "system/network.h" #include "system/kerberos.h" +#include "err.h" /* get the list of IP addresses for configured interfaces @@ -48,3 +49,12 @@ krb5_error_code krb5_get_all_client_addrs(krb5_context context, krb5_addresses * return 0; } + + +void errx(int eval, const char *fmt, ...) +{ + va_list ap; + va_start(ap, fmt); + verrx(eval, fmt, ap); + va_end(ap); +} |