提交 48e9d686 编写于 作者: C Cole Robinson

Use proper error code in virStorageVolCreateXML

上级 3f24e6c2
Tue May 5 10:16:56 EDT 2009 Cole Robinson <crobinso@redhat.com>
* src/libvirt.c: Use proper error code in virStorageVolCreateXML
Mon May 4 11:44:09 EDT 2009 Cole Robinson <crobinso@redhat.com>
* src/storage_backend_fs.c: Fix a comment typo in storage_backend_fs.c
......
......@@ -6740,7 +6740,7 @@ virStorageVolCreateXML(virStoragePoolPtr pool,
virResetLastError();
if (!VIR_IS_STORAGE_POOL(pool)) {
virLibConnError(NULL, VIR_ERR_INVALID_STORAGE_VOL, __FUNCTION__);
virLibConnError(NULL, VIR_ERR_INVALID_STORAGE_POOL, __FUNCTION__);
return (NULL);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册