virterror: supply missing spaces

* src/util/virterror.c (virErrorDomainName): Always supply
trailing space if category was present.
This commit is contained in:
Eric Blake 2010-11-02 15:34:33 -06:00
parent 8dd22be93e
commit b50408c143

View File

@ -179,7 +179,7 @@ static const char *virErrorDomainName(virErrorDomain domain) {
dom = "CPU ";
break;
case VIR_FROM_NWFILTER:
dom = "Network Filter";
dom = "Network Filter ";
break;
case VIR_FROM_HOOK:
dom = "Sync Hook ";
@ -188,7 +188,7 @@ static const char *virErrorDomainName(virErrorDomain domain) {
dom = "Domain Snapshot ";
break;
case VIR_FROM_AUDIT:
dom = "Audit";
dom = "Audit ";
break;
}
return(dom);