summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-05-19 17:13:52 +0100
committerColin Ian King <colin.king@canonical.com>2021-05-19 17:13:52 +0100
commit3f8c79fc22fd64b739f51268654a6783a874520e (patch)
tree399fab7349b1d9793b3e5127f2ca0dfe9a7825bd
parent81eb9c383e6dee0f1b6620e91e5c3dbb48234831 (diff)
downloadacpica-3f8c79fc22fd64b739f51268654a6783a874520e.tar.gz
iASL: Fix a missing comma between two literal strings
A recent commit added a new literal string to the AslTableCompilerMsgs[] array but the previous string is missing a comma and so the two strings are ending up being concatenated. Fix this by adding the missing comma. Addresses-Coverity: ("Missing comma in a string array initialization") Fixes: 81eb9c383e6d ("iASL: Add support for the BDAT ACPI table") Signed-off-by: Colin Ian King <colin.king@canonical.com>
-rw-r--r--source/compiler/aslmessages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler/aslmessages.c b/source/compiler/aslmessages.c
index 889850e81..4dd6422ba 100644
--- a/source/compiler/aslmessages.c
+++ b/source/compiler/aslmessages.c
@@ -408,7 +408,7 @@ const char *AslTableCompilerMsgs [] =
/* ASL_MSG_INVALID_LABEL */ "Invalid field label detected",
/* ASL_MSG_BUFFER_LIST */ "Invalid buffer initializer list",
/* ASL_MSG_ENTRY_LIST */ "Invalid entry initializer list",
-/* ASL_MSG_UNKNOWN_FORMAT */ "Unknown format value"
+/* ASL_MSG_UNKNOWN_FORMAT */ "Unknown format value",
/* ASL_MSG_RESERVED_VALUE */ "Value for field is reserved or unknown",
};