From: Andrea Bolognani Date: Thu, 3 Feb 2022 14:15:33 +0000 (+0100) Subject: syntax-check: Suggest correct replacement for str(n)dup() X-Git-Tag: v8.1.0-rc1~195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d70d5eb6c5bbaa3313c7f517cfa46696a4a28fa0;p=thirdparty%2Flibvirt.git syntax-check: Suggest correct replacement for str(n)dup() As of 610963cd0411 VIR_STRDUP() no longer exists. Signed-off-by: Andrea Bolognani Reviewed-by: Ján Tomko --- diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index d5cdb3c70e..b96d126bdc 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -244,7 +244,7 @@ sc_prohobit_vsnprintf: sc_prohibit_strdup: @prohibit='\ *\(' \ - halt='use VIR_STRDUP, not strdup' \ + halt='use g_str(n)dup, not str(n)dup' \ $(_sc_search_regexp) # Prefer virSetUIDGID.