xbps-bin/install.c: improve some printfs.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091005190430-z70qmlhx4ca93jk6
This commit is contained in:
Juan RP 2009-10-05 21:04:30 +02:00
parent 550e33d7b2
commit f02dd4ccb4

View File

@ -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);
}
}