Skip to content

Commit

Permalink
Use correct constant in diagnostic error message
Browse files Browse the repository at this point in the history
  • Loading branch information
hillu committed Feb 7, 2014
1 parent 97bbe49 commit ad32d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/value.c
Expand Up @@ -334,7 +334,7 @@ hivex_value_value (hive_h *h, hive_value_h value,
/* Arbitrarily limit the length that we will read. */
if (len > HIVEX_MAX_VALUE_LEN) {
SET_ERRNO (ERANGE, "data length > HIVEX_MAX_VALUE_LEN (%zu > %d)",
len, HIVEX_MAX_SUBKEYS);
len, HIVEX_MAX_VALUE_LEN);
return NULL;
}

Expand Down

0 comments on commit ad32d89

Please sign in to comment.