From c4c5cd4d4afef0c13838e0b4e17d6d70cf975f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 18 Jan 2008 19:10:32 +0000 Subject: [PATCH] use xhdierror() to map xhdi errors. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23616 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/platform/atari_m68k/devices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/boot/platform/atari_m68k/devices.cpp b/src/system/boot/platform/atari_m68k/devices.cpp index 4165b14fe0..06aec2f754 100644 --- a/src/system/boot/platform/atari_m68k/devices.cpp +++ b/src/system/boot/platform/atari_m68k/devices.cpp @@ -899,7 +899,7 @@ XHDIDrive::ReadBlocks(void *buffer, off_t first, int32 count) TRACE(("XHDIDrive::%s(%Ld, %d) (%d,%d)\n", __FUNCTION__, first, count, fMajor, fMinor)); ret = XHReadWrite(fMajor, fMinor, flags, (uint32)first, (uint16)count, buffer); if (ret < 0) - return toserror(ret); + return xhdierror(ret); //TRACE(("XHReadWrite: %ld\n", ret)); /* uint8 *b = (uint8 *)buffer;