From 4b726caa36a1887ec2d936a2fd4f5fa1f30e5599 Mon Sep 17 00:00:00 2001 From: Ashish Kumar Yadav Date: Sun, 12 Jul 2020 02:42:35 +0530 Subject: [PATCH] Added missing newline characters --- sigdwmblocks.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sigdwmblocks.c b/sigdwmblocks.c index 6a1221b..252e4d2 100644 --- a/sigdwmblocks.c +++ b/sigdwmblocks.c @@ -18,7 +18,7 @@ sendsignal(int signum, union sigval sv) fd = open(LOCKFILE, O_RDONLY); if (fd == -1) { if (errno == ENOENT) { - fputs("Error: no running instance of dwmblocks.", stderr); + fputs("Error: no running instance of dwmblocks.\n", stderr); exit(2); } perror("sendsignal - fd"); @@ -33,15 +33,15 @@ sendsignal(int signum, union sigval sv) exit(1); } if (fl.l_type == F_UNLCK) { - fputs("Error: no running instance of dwmblocks.", stderr); + fputs("Error: no running instance of dwmblocks.\n", stderr); exit(2); } if (sigqueue(fl.l_pid, signum, sv) == -1) { if (errno == EINVAL) { - fputs("Error: invalid signal provided in argument.", stderr); + fputs("Error: invalid signal provided in argument.\n", stderr); exit(3); } else if (errno == ESRCH) { - fputs("Error: no running instance of dwmblocks.", stderr); + fputs("Error: no running instance of dwmblocks.\n", stderr); exit(2); } else { perror("sendsignal - sigqueue");