mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
libkmipclient: Fix typo in debug message
Fix copy & paste error in debug message Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
c98d8e7629
commit
cee4bb4995
@@ -89,7 +89,7 @@ int kmip_decode_xml(const xmlNode *xml, struct kmip_node *parent,
|
||||
} else {
|
||||
n->type = kmip_type_by_name_or_hex(type_attr);
|
||||
if (n->type == 0) {
|
||||
kmip_debug(debug, "Unknown 'type' in JSON object: '%s'",
|
||||
kmip_debug(debug, "Unknown 'type' in XML object: '%s'",
|
||||
type_attr);
|
||||
rc = -EBADMSG;
|
||||
goto out;
|
||||
@@ -361,7 +361,7 @@ int kmip_encode_xml(const struct kmip_node *node, xmlNode **xml, bool debug)
|
||||
while (element != NULL) {
|
||||
rc = kmip_encode_xml(element, &elem_xml, debug);
|
||||
if (rc != 0) {
|
||||
kmip_debug(debug, "kmip_encode_json failed");
|
||||
kmip_debug(debug, "kmip_encode_xml failed");
|
||||
goto out;
|
||||
}
|
||||
if (xmlAddChild(ret_xml, elem_xml) == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user