PackageWriterImpl: improve error output.

This commit is contained in:
Axel Dörfler
2013-09-28 00:52:06 +02:00
parent c8f47aeac8
commit 86cdd3f81a
+2 -1
View File
@@ -655,7 +655,8 @@ PackageWriterImpl::_CheckLicenses()
= systemLicensePath.SetTo(HAIKU_BUILD_SYSTEM_DATA_DIRECTORY);
#endif
if (result != B_OK) {
fListener->PrintError("unable to find system data path!\n");
fListener->PrintError("unable to find system data path: %s!\n",
strerror(result));
return result;
}
if ((result = systemLicensePath.Append("licenses")) != B_OK) {