bin/: use xbps logging functions more

This commit is contained in:
classabbyamp
2023-02-09 04:54:36 -05:00
committed by Duncan Overbruck
parent 7391a7b213
commit 1271a3dbed
19 changed files with 94 additions and 95 deletions

View File

@ -167,7 +167,7 @@ main(int argc, char **argv)
failure = true;
continue;
} else if (rv == 0) {
fprintf(stderr, "%s: file is identical with remote.\n", argv[i]);
xbps_warn_printf("%s: %s: file is identical with remote.\n", progname, argv[i]);
if (shasum) {
if (!xbps_file_sha256_raw(digest, sizeof digest, filename)) {
xbps_error_printf("%s: failed to hash: %s: %s\n",