From: Gary Lockyer Date: Tue, 5 May 2020 21:11:55 +0000 (+1200) Subject: lib util asn1: modernize debug calls X-Git-Tag: ldb-2.2.0~636 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d2dd6296d51f8ee21e5836aae39f7f4a38c0604;p=thirdparty%2Fsamba.git lib util asn1: modernize debug calls Replace DEBUG(0 with DBG_ERR( Signed-off-by: Gary Lockyer Reviewed-by: Volker Lendecke Autobuild-User(master): Gary Lockyer Autobuild-Date(master): Wed May 6 22:53:02 UTC 2020 on sn-devel-184 --- diff --git a/lib/util/asn1.c b/lib/util/asn1.c index dc3f43f33f4..397f6b3c271 100644 --- a/lib/util/asn1.c +++ b/lib/util/asn1.c @@ -45,7 +45,7 @@ struct asn1_data *asn1_init(TALLOC_CTX *mem_ctx, unsigned max_depth) { struct asn1_data *ret = talloc_zero(mem_ctx, struct asn1_data); if (ret == NULL) { - DEBUG(0,("asn1_init failed! out of memory\n")); + DBG_ERR("asn1_init failed! out of memory\n"); return ret; } ret->max_depth = max_depth;