diff --git a/libs/util/plist.c b/libs/util/plist.c index 1172a354c..db3c607ed 100644 --- a/libs/util/plist.c +++ b/libs/util/plist.c @@ -1433,7 +1433,7 @@ PL_ParseStruct (const plfield_t *fields, const plitem_t *item, void *data, } } if (!f->name) { - PL_Message (messages, item, "error: unknown field %s", + PL_Message (messages, item, "error: unknown field '%s'", current->key); result = 0; } diff --git a/libs/video/renderer/vulkan/vkparse.c b/libs/video/renderer/vulkan/vkparse.c index f319cde4d..875796779 100644 --- a/libs/video/renderer/vulkan/vkparse.c +++ b/libs/video/renderer/vulkan/vkparse.c @@ -161,7 +161,7 @@ find_field (plfield_t *fields, const char *field_name, return f; } } - PL_Message (messages, item, "error: unknown field %s", field_name); + PL_Message (messages, item, "error: unknown field '%s'", field_name); return 0; }