PackageInstaller: print strerror upon failure.

This commit is contained in:
Augustin Cavalier
2015-04-27 13:34:44 -04:00
parent 546c7148fc
commit ac18a1b54c
+1 -1
View File
@@ -220,7 +220,7 @@ PackageInstall::_Install()
}
if (err != B_OK) {
fprintf(stderr, "Error while writing path\n");
fprintf(stderr, "Error '%s' while writing path\n", strerror(err));
return P_MSG_I_ERROR;
}