[haiku-commits] haiku: hrev46115 - src/kits/package/hpkg

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 28 Sep 2013 00:52:31 +0200 (CEST)

hrev46115 adds 1 changeset to branch 'master'
old head: c8f47aeac81d8922f8d9a86060aa2ccb977c896b
new head: 86cdd3f81a805c95f70035eb0be28a46ac3745f5
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=86cdd3f+%5Ec8f47ae

----------------------------------------------------------------------------

86cdd3f: PackageWriterImpl: improve error output.

                                   [ Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev46115
Commit:      86cdd3f81a805c95f70035eb0be28a46ac3745f5
URL:         http://cgit.haiku-os.org/haiku/commit/?id=86cdd3f
Author:      Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
Date:        Fri Sep 27 22:52:06 2013 UTC

----------------------------------------------------------------------------

1 file changed, 2 insertions(+), 1 deletion(-)
src/kits/package/hpkg/PackageWriterImpl.cpp | 3 ++-

----------------------------------------------------------------------------

diff --git a/src/kits/package/hpkg/PackageWriterImpl.cpp 
b/src/kits/package/hpkg/PackageWriterImpl.cpp
index c182604..8985e50 100644
--- a/src/kits/package/hpkg/PackageWriterImpl.cpp
+++ b/src/kits/package/hpkg/PackageWriterImpl.cpp
@@ -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) {


Other related posts:

  • » [haiku-commits] haiku: hrev46115 - src/kits/package/hpkg - axeld