summaryrefslogtreecommitdiffstats
path: root/src/veritysetup/veritysetup-generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/veritysetup/veritysetup-generator.c')
-rw-r--r--src/veritysetup/veritysetup-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/veritysetup/veritysetup-generator.c b/src/veritysetup/veritysetup-generator.c
index d55d4aa..95ce82b 100644
--- a/src/veritysetup/veritysetup-generator.c
+++ b/src/veritysetup/veritysetup-generator.c
@@ -252,7 +252,7 @@ static int determine_device(
if (*data_what && *hash_what)
return 0;
- r = unhexmem(hash, strlen(hash), &m, &l);
+ r = unhexmem(hash, &m, &l);
if (r < 0)
return log_error_errno(r, "Failed to parse hash: %s", hash);
if (l < sizeof(sd_id128_t)) {