]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Change virDirCreate to return -errno on failure.
authorLaine Stump <laine@laine.org>
Mon, 19 Jul 2010 23:48:59 +0000 (19:48 -0400)
committerLaine Stump <laine@laine.org>
Wed, 21 Jul 2010 18:32:59 +0000 (14:32 -0400)
commit3e0f05fc4c7334fd07792b4f5173457985daa8ff
tree631c66759f589c81b865ca6e054aa4413a502800
parentace1a2bac411a6a1361b030f94c8666dadd14764
Change virDirCreate to return -errno on failure.

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
src/util/util.c