summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Mestre <mestre@cvs.openbsd.org>2018-10-26 17:37:48 +0000
committerRicardo Mestre <mestre@cvs.openbsd.org>2018-10-26 17:37:48 +0000
commit9eb8d1404cb0a1fb66fd13585dc599ab141d1dd2 (patch)
treed9bdabd9eebf5c68a68cc5bb750bb03b7442b101
parent5bcdb6a26e6e41173e095d07463278a1f8b45200 (diff)
Add a few \n I missed to add in some fprintf(3)s in my last commit
-rw-r--r--app/bdftopcf/bdftopcf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/bdftopcf/bdftopcf.c b/app/bdftopcf/bdftopcf.c
index 0006a6886..720e14e8f 100644
--- a/app/bdftopcf/bdftopcf.c
+++ b/app/bdftopcf/bdftopcf.c
@@ -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);
}
}