[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCHv2 3/4] Change virDirCreate to return -errno on failure.



 On 07/21/2010 11:17 AM, Daniel Veillard wrote:
On Mon, Jul 19, 2010 at 09:21:54PM -0400, Laine Stump wrote:
virDirCreate also previously returned 0 on success and errno on
failure. This makes it fit the recommended convention of returning 0
on success, -errno (ie a negative number) on failure.
---
  src/storage/storage_backend_fs.c |    8 ++++----
  src/util/util.c                  |   32 +++++++++++++++++---------------
  2 files changed, 21 insertions(+), 19 deletions(-)

diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c
index ffb0071..0761bd8 100644
   ACK,

Pushed. Thanks!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]