aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkoekeishiya <aasvi93@hotmail.com>2019-05-21 17:36:40 +0200
committerkoekeishiya <aasvi93@hotmail.com>2019-05-21 17:36:40 +0200
commitfc32b805c0abd349e36d1fe3a79026920760fc29 (patch)
tree18d9aab6f5f5e43b7d446fbfdee7af5990ccd243
parentec57f56bb218a6f4effe7062493c81ec3f64f3e5 (diff)
downloadskhd-fc32b805c0abd349e36d1fe3a79026920760fc29.tar.gz
skhd-fc32b805c0abd349e36d1fe3a79026920760fc29.zip
-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");
}