diff --git a/dwmblocks.c b/dwmblocks.c index 9ea62cb..6589ae1 100644 --- a/dwmblocks.c +++ b/dwmblocks.c @@ -273,7 +273,7 @@ writepid() fputs("Error: another instance of dwmblocks is already running.\n", stderr); exit(2); } - perror("lockfile - fcntl"); + perror("writepid - fcntl"); exit(1); } if (ftruncate(fd, 0) == -1) {