]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hardlink: use info rather than warning message
authorKarel Zak <kzak@redhat.com>
Mon, 20 Jun 2022 12:00:38 +0000 (14:00 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 20 Jul 2022 15:57:28 +0000 (17:57 +0200)
Fixes: https://github.com/util-linux/util-linux/issues/1710
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/hardlink.c

index b7eb342340e616acac6272149278839af8735ef9..12f3cffda7bb16d38667f7aad2ddabb60886c64b 100644 (file)
@@ -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);
        }