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.
Showing
想要评论请 注册 或 登录