Fixed typo in sigdwmblocks.c

This commit is contained in:
Ashish Kumar Yadav 2020-10-12 22:20:09 +05:30
parent e300a25f72
commit 52b07e2fca

View file

@ -21,7 +21,7 @@ sendsignal(int signum, union sigval sv)
fputs("Error: no running instance of dwmblocks.\n", stderr); fputs("Error: no running instance of dwmblocks.\n", stderr);
exit(2); exit(2);
} }
perror("sendsignal - fd"); perror("sendsignal - open");
exit(1); exit(1);
} }
fl.l_type = F_WRLCK; fl.l_type = F_WRLCK;
@ -70,7 +70,6 @@ main(int argc, char *argv[])
} }
} }
} }
fprintf(stderr, "Usage: %s <signal> [<sigval>]\n", argv[0]); fprintf(stderr, "Usage: %s <signal> [<sigval>]\n", argv[0]);
return 3; return 3;
} }