sorry, wrong patch
On 2016-09-02 17:21, Ali H. Fardan wrote:
diff --git a/quark.c b/quark.c
index 6ff50f5..f69ed59 100644
--- a/quark.cdiff --git a/quark.c b/quark.c
index 6ff50f5..7e6530f 100644
--- a/quark.c
+++ b/quark.c
@@ -694,7 +694,7 @@ main(int argc, char *argv[])
/* raise the process limit */
rlim.rlim_cur = rlim.rlim_max = maxnprocs;
if (setrlimit(RLIMIT_NPROC, ) < 0) {
- fprintf(stderr, "%s: setrlimit RLIMIT_NPROC: %s", argv0,
+ fprintf(stderr, "%s: setrlimit RLIMIT_NPROC: %s\n", argv0,
strerror(errno));
return 1;
}
+++ b/quark.c
@@ -686,7 +686,7 @@ main(int argc, char *argv[])
/* reap children automatically */
if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {
- fprintf(stderr, "%s: signal: Failed to set SIG_IGN on"
+ fprintf(stderr, "%s: signal: Failed to set SIG_IGN on\n"
"SIGCHLD\n", argv0);
return 1;
}
@@ -694,7 +694,7 @@ main(int argc, char *argv[])
/* raise the process limit */
rlim.rlim_cur = rlim.rlim_max = maxnprocs;
if (setrlimit(RLIMIT_NPROC, ) < 0) {
- fprintf(stderr, "%s: setrlimit RLIMIT_NPROC: %s", argv0,
+ fprintf(stderr, "%s: setrlimit RLIMIT_NPROC: %s\n", argv0,
strerror(errno));
return 1;
}