summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/ldso/pe_get_framework_runtime_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldso/pe_get_framework_runtime_data.c b/src/ldso/pe_get_framework_runtime_data.c
index ba9d903..1fabf40 100644
--- a/src/ldso/pe_get_framework_runtime_data.c
+++ b/src/ldso/pe_get_framework_runtime_data.c
@@ -31,7 +31,7 @@ static int32_t pe_hex_utf16_to_uint32(
if (!((hex_key_utf16[i] >= 'a') && (hex_key_utf16[i] <= 'f')))
if (!((hex_key_utf16[i] >= 'A') && (hex_key_utf16[i] <= 'F')))
if (!((hex_key_utf16[i] >= '0') && (hex_key_utf16[i] <= '9')))
- return OS_STATUS_ILLEGAL_CHARACTER;
+ return OS_STATUS_INVALID_PARAMETER;
/* intermediate step: little endian byte order */
uch[0] = (unsigned char)hex_key_utf16[6];