summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2022-06-20 14:00:38 +0200
committerKarel Zak <kzak@redhat.com>2022-07-20 17:57:28 +0200
commitc4ea22024f8cfaf69b8d7b97e58f14a9b8fc7c34 (patch)
tree6ce6421545b06e63b92a8f1cabfef65efda625bf
parentfdf9a68aecabd83c6da649e5b9ab3f529e3ca4a0 (diff)
downloadutil-linux-c4ea22024f8cfaf69b8d7b97e58f14a9b8fc7c34.tar.gz
hardlink: use info rather than warning message
Fixes: https://github.com/util-linux/util-linux/issues/1710 Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--misc-utils/hardlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/hardlink.c b/misc-utils/hardlink.c
index b7eb34234..12f3cffda 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);
}