From 03423585a40e6e23b8852055d71ca58172498855 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 15 Nov 2009 08:40:35 +0000 Subject: [PATCH] Incorrectly used errno instead of error. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34054 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/package/command_extract.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/package/command_extract.cpp b/src/bin/package/command_extract.cpp index 5684f4a929..8fa166ab25 100644 --- a/src/bin/package/command_extract.cpp +++ b/src/bin/package/command_extract.cpp @@ -259,7 +259,7 @@ private: error = reader->ReadData(offset, fDataBuffer, toCopy); if (error != B_OK) { fprintf(stderr, "Error: Failed to read data: %s\n", - strerror(errno)); + strerror(error)); return error; }