Add a few \n I missed to add in some fprintf(3)s in my last commit

This commit is contained in:
mestre 2018-10-26 17:37:47 +00:00
parent 2288d216a5
commit bb65f435ee

View File

@ -174,19 +174,19 @@ main(int argc, char *argv[])
exit(1);
}
if (pledge("stdio rpath wpath cpath", NULL) == -1) {
fprintf(stderr, "%s: could not pledge", program_name);
fprintf(stderr, "%s: could not pledge\n", program_name);
exit(1);
}
}
if (input_name && !output_name) {
if (pledge("stdio rpath", NULL) == -1) {
fprintf(stderr, "%s: could not pledge", program_name);
fprintf(stderr, "%s: could not pledge\n", program_name);
exit(1);
}
}
if (!input_name && !output_name) {
if (pledge("stdio", NULL) == -1) {
fprintf(stderr, "%s: could not pledge", program_name);
fprintf(stderr, "%s: could not pledge\n", program_name);
exit(1);
}
}