aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/skhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skhd.c b/src/skhd.c
index 432f43c..d67f74c 100644
--- a/src/skhd.c
+++ b/src/skhd.c
@@ -244,7 +244,7 @@ create_pid_file(void)
};
if (fcntl(handle, F_SETLK, &lockfd) == -1) {
- error("skhd: could not lock pid-file! abort.. %d\n", errno);
+ error("skhd: could not lock pid-file! abort..\n");
} else if (write(handle, &pid, sizeof(pid_t)) == -1) {
error("skhd: could not write pid-file! abort..\n");
}