xbps-bin: improve error printfs while checking files.plist.

This commit is contained in:
Juan RP 2011-06-06 09:09:30 +02:00
parent 90549d829a
commit 32a5cd501e

View File

@ -212,7 +212,7 @@ xbps_check_pkg_integrity(const char *pkgname)
break;
default:
fprintf(stderr,
"%s: unexpected error for %s (%s)\n",
"%s: can't check `%s' (%s)\n",
pkgname, file, strerror(rv));
break;
}
@ -252,8 +252,8 @@ xbps_check_pkg_integrity(const char *pkgname)
broken = true;
} else
fprintf(stderr,
"%s: unexpected error for "
"%s (%s)\n", pkgname, file,
"%s: can't check `%s' (%s)\n",
pkgname, file,
strerror(errno));
}
free(path);