cppcheck output: [src/cryptsetup/cryptsetup-generator.c:149]: (error) fprintf format string has 2 parameters but only 1 are given. fprintf(f, "After=%1$s\nRequires=%1$s\n", dd);
This appears to be a bug in cppcheck. The format string actually references the same passed argument twice with explicit numbering. It appears that cppecheck doesn't understand the "%1$" specifiers correctly.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.