From 870d5c92feed97309b492ca2452f43877d5172c1 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 19 Jun 2011 22:15:02 +0200 Subject: [PATCH] write_pos(): Fix return value for attribute writes --- src/build/libroot/fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/libroot/fs.cpp b/src/build/libroot/fs.cpp index f8c0af2798..d1f7e8bfbf 100644 --- a/src/build/libroot/fs.cpp +++ b/src/build/libroot/fs.cpp @@ -979,7 +979,7 @@ write_pos(int fd, off_t pos, const void *buffer, size_t bufferSize) return -1; } - return 0; + return bufferSize; } // seek