From: Karel Zak Date: Mon, 20 Jun 2022 12:00:38 +0000 (+0200) Subject: hardlink: use info rather than warning message X-Git-Tag: v2.38.1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4ea22024f8cfaf69b8d7b97e58f14a9b8fc7c34;p=thirdparty%2Futil-linux.git hardlink: use info rather than warning message Fixes: https://github.com/util-linux/util-linux/issues/1710 Signed-off-by: Karel Zak --- diff --git a/misc-utils/hardlink.c b/misc-utils/hardlink.c index b7eb342340..12f3cffda7 100644 --- a/misc-utils/hardlink.c +++ b/misc-utils/hardlink.c @@ -1353,7 +1353,7 @@ int main(int argc, char *argv[]) rc = ul_fileeq_init(&fileeq, opts.method); if (rc != 0 && strcmp(opts.method, "memcmp") != 0) { - warnx(_("cannot initialize %s method, use 'memcmp' fallback"), opts.method); + jlog(JLOG_INFO, _("cannot initialize %s method, use 'memcmp' fallback"), opts.method); opts.method = "memcmp"; rc = ul_fileeq_init(&fileeq, opts.method); }