mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
* src/virterror.c (virErrorMsg): Correct indentation.
This commit is contained in:
parent
39e49ad7c9
commit
69d947eb80
@ -1,3 +1,7 @@
|
|||||||
|
Mon Jan 26 14:44:22 +0100 2009 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
|
* src/virterror.c (virErrorMsg): Correct indentation.
|
||||||
|
|
||||||
Fri Jan 23 11:07:42 PST 2009 John Levon <john.levon@sun.com>
|
Fri Jan 23 11:07:42 PST 2009 John Levon <john.levon@sun.com>
|
||||||
|
|
||||||
* src/xs_internal.c: fix recursive lock hang
|
* src/xs_internal.c: fix recursive lock hang
|
||||||
|
@ -902,66 +902,66 @@ virErrorMsg(virErrorNumber error, const char *info)
|
|||||||
else
|
else
|
||||||
errmsg = _("Network not found: %s");
|
errmsg = _("Network not found: %s");
|
||||||
break;
|
break;
|
||||||
case VIR_ERR_INVALID_MAC:
|
case VIR_ERR_INVALID_MAC:
|
||||||
if (info == NULL)
|
if (info == NULL)
|
||||||
errmsg = _("invalid MAC address");
|
errmsg = _("invalid MAC address");
|
||||||
else
|
else
|
||||||
errmsg = _("invalid MAC address: %s");
|
errmsg = _("invalid MAC address: %s");
|
||||||
break;
|
break;
|
||||||
case VIR_ERR_AUTH_FAILED:
|
case VIR_ERR_AUTH_FAILED:
|
||||||
if (info == NULL)
|
if (info == NULL)
|
||||||
errmsg = _("authentication failed");
|
errmsg = _("authentication failed");
|
||||||
else
|
else
|
||||||
errmsg = _("authentication failed: %s");
|
errmsg = _("authentication failed: %s");
|
||||||
break;
|
break;
|
||||||
case VIR_ERR_NO_STORAGE_POOL:
|
case VIR_ERR_NO_STORAGE_POOL:
|
||||||
if (info == NULL)
|
if (info == NULL)
|
||||||
errmsg = _("Storage pool not found");
|
errmsg = _("Storage pool not found");
|
||||||
else
|
else
|
||||||
errmsg = _("Storage pool not found: %s");
|
errmsg = _("Storage pool not found: %s");
|
||||||
break;
|
break;
|
||||||
case VIR_ERR_NO_STORAGE_VOL:
|
case VIR_ERR_NO_STORAGE_VOL:
|
||||||
if (info == NULL)
|
if (info == NULL)
|
||||||
errmsg = _("Storage volume not found");
|
errmsg = _("Storage volume not found");
|
||||||
else
|
else
|
||||||
errmsg = _("Storage volume not found: %s");
|
errmsg = _("Storage volume not found: %s");
|
||||||
break;
|
break;
|
||||||
case VIR_ERR_INVALID_STORAGE_POOL:
|
case VIR_ERR_INVALID_STORAGE_POOL:
|
||||||
if (info == NULL)
|
if (info == NULL)
|
||||||
errmsg = _("invalid storage pool pointer in");
|
errmsg = _("invalid storage pool pointer in");
|
||||||
else
|
else
|
||||||
errmsg = _("invalid storage pool pointer in %s");
|
errmsg = _("invalid storage pool pointer in %s");
|
||||||
break;
|
break;
|
||||||
case VIR_ERR_INVALID_STORAGE_VOL:
|
case VIR_ERR_INVALID_STORAGE_VOL:
|
||||||
if (info == NULL)
|
if (info == NULL)
|
||||||
errmsg = _("invalid storage volume pointer in");
|
errmsg = _("invalid storage volume pointer in");
|
||||||
else
|
else
|
||||||
errmsg = _("invalid storage volume pointer in %s");
|
errmsg = _("invalid storage volume pointer in %s");
|
||||||
break;
|
break;
|
||||||
case VIR_WAR_NO_STORAGE:
|
case VIR_WAR_NO_STORAGE:
|
||||||
if (info == NULL)
|
if (info == NULL)
|
||||||
errmsg = _("Failed to find a storage driver");
|
errmsg = _("Failed to find a storage driver");
|
||||||
else
|
else
|
||||||
errmsg = _("Failed to find a storage driver: %s");
|
errmsg = _("Failed to find a storage driver: %s");
|
||||||
break;
|
break;
|
||||||
case VIR_WAR_NO_NODE:
|
case VIR_WAR_NO_NODE:
|
||||||
if (info == NULL)
|
if (info == NULL)
|
||||||
errmsg = _("Failed to find a node driver");
|
errmsg = _("Failed to find a node driver");
|
||||||
else
|
else
|
||||||
errmsg = _("Failed to find a node driver: %s");
|
errmsg = _("Failed to find a node driver: %s");
|
||||||
break;
|
break;
|
||||||
case VIR_ERR_INVALID_NODE_DEVICE:
|
case VIR_ERR_INVALID_NODE_DEVICE:
|
||||||
if (info == NULL)
|
if (info == NULL)
|
||||||
errmsg = _("invalid node device pointer");
|
errmsg = _("invalid node device pointer");
|
||||||
else
|
else
|
||||||
errmsg = _("invalid node device pointer in %s");
|
errmsg = _("invalid node device pointer in %s");
|
||||||
break;
|
break;
|
||||||
case VIR_ERR_NO_NODE_DEVICE:
|
case VIR_ERR_NO_NODE_DEVICE:
|
||||||
if (info == NULL)
|
if (info == NULL)
|
||||||
errmsg = _("Node device not found");
|
errmsg = _("Node device not found");
|
||||||
else
|
else
|
||||||
errmsg = _("Node device not found: %s");
|
errmsg = _("Node device not found: %s");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return (errmsg);
|
return (errmsg);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user