xbps-bin: improve error printfs while checking files.plist.
This commit is contained in:
parent
90549d829a
commit
32a5cd501e
@ -212,7 +212,7 @@ xbps_check_pkg_integrity(const char *pkgname)
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"%s: unexpected error for %s (%s)\n",
|
"%s: can't check `%s' (%s)\n",
|
||||||
pkgname, file, strerror(rv));
|
pkgname, file, strerror(rv));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -252,8 +252,8 @@ xbps_check_pkg_integrity(const char *pkgname)
|
|||||||
broken = true;
|
broken = true;
|
||||||
} else
|
} else
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"%s: unexpected error for "
|
"%s: can't check `%s' (%s)\n",
|
||||||
"%s (%s)\n", pkgname, file,
|
pkgname, file,
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
}
|
}
|
||||||
free(path);
|
free(path);
|
||||||
|
Loading…
Reference in New Issue
Block a user