lib/initend.c: convert a noisy printf to dbg_printf.
This commit is contained in:
parent
7360a6fca3
commit
9cf104498e
@ -90,8 +90,8 @@ config_inject_vpkgs(struct xbps_handle *xh)
|
|||||||
vpkgdir = strdup("/etc/xbps/virtualpkg.d");
|
vpkgdir = strdup("/etc/xbps/virtualpkg.d");
|
||||||
|
|
||||||
if ((dirp = opendir(vpkgdir)) == NULL) {
|
if ((dirp = opendir(vpkgdir)) == NULL) {
|
||||||
fprintf(stderr, "ERROR: cannot access to "
|
xbps_dbg_printf(xh, "cannot access to %s: %s\n",
|
||||||
"etc/xbps/virtualpkg.d: %s\n", strerror(errno));
|
vpkgdir, strerror(errno));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user