Add a few \n I missed to add in some fprintf(3)s in my last commit
This commit is contained in:
parent
2288d216a5
commit
bb65f435ee
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user