]> 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>
Mon, 20 Jun 2022 12:00:38 +0000 (14:00 +0200)
Fixes: https://github.com/util-linux/util-linux/issues/1710
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/hardlink.c

index 0582bbc976ebc1ab16bdec9d36904a254f1b376b..5de09ca1590585c7ed2bc9c6466279b80e19eaf0 100644 (file)
@@ -1366,7 +1366,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);
        }