pkgman: Print correct error when parsing package info failed

This commit is contained in:
Ingo Weinhold
2013-04-19 16:06:11 +02:00
parent cba60307b8
commit 00b5554e11
+1 -1
View File
@@ -91,7 +91,7 @@ RepositoryBuilder::AddPackage(const char* path, BSolverPackage** _package)
}
if (error != B_OK)
DIE(errno, "failed to read package info from \"%s\"", path);
DIE(error, "failed to read package info from \"%s\"", path);
// add the package
BSolverPackage* package;