mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
mark a few diagnostics for translation
* src/xen_inotify.c (xenInotifyXendDomainsDirLookup): Mark a diagnostic. (xenInotifyXendDomainsDirRemoveEntry, xenInotifyOpen): Likewise.
This commit is contained in:
parent
33a7dc93d8
commit
cb48d5d71c
@ -1,5 +1,9 @@
|
||||
Mon Jan 5 09:11:21 CET 2009 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
mark a few diagnostics for translation
|
||||
* src/xen_inotify.c (xenInotifyXendDomainsDirLookup): Mark a diagnostic.
|
||||
(xenInotifyXendDomainsDirRemoveEntry, xenInotifyOpen): Likewise.
|
||||
|
||||
HACKING: mention bool and other scalar types, const-correctness
|
||||
|
||||
Fri Dec 26 14:22:04 CET 2008 Guido Günther <agx@sigxcpu.org>
|
||||
|
@ -128,7 +128,7 @@ xenInotifyXendDomainsDirLookup(virConnectPtr conn, const char *filename,
|
||||
|
||||
if (virUUIDParse(uuid_str, rawuuid) < 0) {
|
||||
virXenInotifyError(NULL, VIR_ERR_INTERNAL_ERROR,
|
||||
"parsing uuid %s", uuid_str);
|
||||
_("parsing uuid %s"), uuid_str);
|
||||
return -1;
|
||||
}
|
||||
/* call directly into xend here, as driver may not yet
|
||||
@ -145,7 +145,7 @@ xenInotifyXendDomainsDirLookup(virConnectPtr conn, const char *filename,
|
||||
*name = strdup(configInfoList->doms[i]->name);
|
||||
if (!*name) {
|
||||
virXenInotifyError(NULL, VIR_ERR_INTERNAL_ERROR,
|
||||
"finding dom for %s", uuid_str);
|
||||
_("finding dom for %s"), uuid_str);
|
||||
return -1;
|
||||
}
|
||||
memcpy(uuid, configInfoList->doms[i]->uuid, VIR_UUID_BUFLEN);
|
||||
@ -201,7 +201,7 @@ xenInotifyXendDomainsDirRemoveEntry(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||
|
||||
if (virUUIDParse(uuidstr, uuid) < 0) {
|
||||
virXenInotifyError(NULL, VIR_ERR_INTERNAL_ERROR,
|
||||
"parsing uuid %s", uuidstr);
|
||||
_("parsing uuid %s"), uuidstr);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -428,7 +428,7 @@ xenInotifyOpen(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||
IN_CLOSE_WRITE | IN_DELETE |
|
||||
IN_MOVED_TO | IN_MOVED_FROM) < 0) {
|
||||
virXenInotifyError(NULL, VIR_ERR_INTERNAL_ERROR,
|
||||
"adding watch on %s", _(configDir));
|
||||
_("adding watch on %s"), _(configDir));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user