diff options
-rw-r--r-- | meta/conf/distro/include/security_flags.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/makedevs/makedevs/makedevs.c | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index c1f596e921..febedfa092 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc | |||
@@ -103,7 +103,6 @@ SECURITY_STRINGFORMAT_pn-expect = "" | |||
103 | SECURITY_STRINGFORMAT_pn-gcc = "" | 103 | SECURITY_STRINGFORMAT_pn-gcc = "" |
104 | SECURITY_STRINGFORMAT_pn-gettext = "" | 104 | SECURITY_STRINGFORMAT_pn-gettext = "" |
105 | SECURITY_STRINGFORMAT_pn-kexec-tools = "" | 105 | SECURITY_STRINGFORMAT_pn-kexec-tools = "" |
106 | SECURITY_STRINGFORMAT_pn-makedevs = "" | ||
107 | SECURITY_STRINGFORMAT_pn-oh-puzzles = "" | 106 | SECURITY_STRINGFORMAT_pn-oh-puzzles = "" |
108 | SECURITY_STRINGFORMAT_pn-unzip = "" | 107 | SECURITY_STRINGFORMAT_pn-unzip = "" |
109 | 108 | ||
diff --git a/meta/recipes-devtools/makedevs/makedevs/makedevs.c b/meta/recipes-devtools/makedevs/makedevs/makedevs.c index 771f33ef5a..7471f3f5b3 100644 --- a/meta/recipes-devtools/makedevs/makedevs/makedevs.c +++ b/meta/recipes-devtools/makedevs/makedevs/makedevs.c | |||
@@ -510,7 +510,7 @@ int main(int argc, char **argv) | |||
510 | umask (0); | 510 | umask (0); |
511 | 511 | ||
512 | if (argc==1) { | 512 | if (argc==1) { |
513 | fprintf(stderr, helptext); | 513 | fputs( helptext , stderr ); |
514 | exit(1); | 514 | exit(1); |
515 | } | 515 | } |
516 | 516 | ||
@@ -525,7 +525,7 @@ int main(int argc, char **argv) | |||
525 | error_msg_and_die("%s: not a proper device table file", optarg); | 525 | error_msg_and_die("%s: not a proper device table file", optarg); |
526 | break; | 526 | break; |
527 | case 'h': | 527 | case 'h': |
528 | printf(helptext); | 528 | puts(helptext); |
529 | exit(0); | 529 | exit(0); |
530 | case 'r': | 530 | case 'r': |
531 | case 'd': /* for compatibility with mkfs.jffs, genext2fs, etc... */ | 531 | case 'd': /* for compatibility with mkfs.jffs, genext2fs, etc... */ |
@@ -553,13 +553,13 @@ int main(int argc, char **argv) | |||
553 | printf("%s: %s\n", app_name, VERSION); | 553 | printf("%s: %s\n", app_name, VERSION); |
554 | exit(0); | 554 | exit(0); |
555 | default: | 555 | default: |
556 | fprintf(stderr, helptext); | 556 | fputs(helptext,stderr); |
557 | exit(1); | 557 | exit(1); |
558 | } | 558 | } |
559 | } | 559 | } |
560 | 560 | ||
561 | if (argv[optind] != NULL) { | 561 | if (argv[optind] != NULL) { |
562 | fprintf(stderr, helptext); | 562 | fputs(helptext,stderr); |
563 | exit(1); | 563 | exit(1); |
564 | } | 564 | } |
565 | 565 | ||