xbps-bin/install.c: improve some printfs.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20091005190430-z70qmlhx4ca93jk6
This commit is contained in:
parent
550e33d7b2
commit
f02dd4ccb4
@ -238,10 +238,10 @@ xbps_install_pkg(const char *pkg, bool force, bool update)
|
||||
}
|
||||
rv = xbps_prepare_pkg(pkg);
|
||||
if (rv != 0 && rv == EAGAIN) {
|
||||
printf("unable to locate %s in repository pool.", pkg);
|
||||
printf("Unable to locate '%s' in repository pool.\n", pkg);
|
||||
cleanup(rv);
|
||||
} else if (rv != 0 && rv != ENOENT) {
|
||||
printf("unexpected error: %s", strerror(rv));
|
||||
printf("Unexpected error: %s", strerror(rv));
|
||||
cleanup(rv);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user