summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/distro/include/security_flags.inc1
-rw-r--r--meta/recipes-devtools/makedevs/makedevs/makedevs.c8
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 = ""
103SECURITY_STRINGFORMAT_pn-gcc = "" 103SECURITY_STRINGFORMAT_pn-gcc = ""
104SECURITY_STRINGFORMAT_pn-gettext = "" 104SECURITY_STRINGFORMAT_pn-gettext = ""
105SECURITY_STRINGFORMAT_pn-kexec-tools = "" 105SECURITY_STRINGFORMAT_pn-kexec-tools = ""
106SECURITY_STRINGFORMAT_pn-makedevs = ""
107SECURITY_STRINGFORMAT_pn-oh-puzzles = "" 106SECURITY_STRINGFORMAT_pn-oh-puzzles = ""
108SECURITY_STRINGFORMAT_pn-unzip = "" 107SECURITY_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