]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
veritysetup: fix typo (#22886)
authorGaël PORTAY <gael.portay@gmail.com>
Mon, 28 Mar 2022 17:09:36 +0000 (13:09 -0400)
committerGitHub <noreply@github.com>
Mon, 28 Mar 2022 17:09:36 +0000 (02:09 +0900)
src/veritysetup/veritysetup.c

index 61973bf37a9fa6384a28a6296a54de7a90c58c66..1536bb2b88bddd95fe4fdfe26207e4c9167c7f5c 100644 (file)
@@ -151,7 +151,7 @@ static int run(int argc, char *argv[]) {
                 size_t l;
 
                 if (argc < 6)
-                        return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "attach requires at least two arguments.");
+                        return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "attach requires at least four arguments.");
 
                 r = unhexmem(argv[5], strlen(argv[5]), &m, &l);
                 if (r < 0)