forked from pool/tboot
- tboot-fix.patch: fixed printf type mismatch OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=21
17 lines
795 B
Diff
17 lines
795 B
Diff
Index: tboot-1.7.2/tb_polgen/param.c
|
|
===================================================================
|
|
--- tboot-1.7.2.orig/tb_polgen/param.c
|
|
+++ tboot-1.7.2/tb_polgen/param.c
|
|
@@ -409,9 +409,9 @@ bool parse_input_params(int argc, char *
|
|
return false;
|
|
}
|
|
if (strlen(optarg) > sizeof(params->cmdline) - 1) {
|
|
- error_msg("Command line length of %lu exceeds %d "
|
|
+ error_msg("Command line length of %u exceeds %d "
|
|
"character maximum\n",
|
|
- strlen(optarg), TBOOT_KERNEL_CMDLINE_SIZE-1);
|
|
+ (int)strlen(optarg), TBOOT_KERNEL_CMDLINE_SIZE-1);
|
|
return false;
|
|
}
|
|
|