summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2016-06-12 06:59:24 +0200
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2016-06-12 06:59:24 +0200
commit24294950b070c13df3220ddfea347e28c1231d39 (patch)
tree3b44cc0e4d6cc56ad8778b9be4b4d41bd57b1bd4 /src/main.c
parentcaf8e163e4f11ac589d8671552ceae90893eae7d (diff)
downloadratpoison-24294950b070c13df3220ddfea347e28c1231d39.zip
set_sig_handler isn't used only for SIGALRM
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 900a828..afe55ec 100644
--- a/src/main.c
+++ b/src/main.c
@@ -318,7 +318,7 @@ set_sig_handler (int sig, void (*action)(int))
/* check setting for sig */
if (sigaction (sig, NULL, &act))
{
- PRINT_ERROR (("Error %d fetching SIGALRM handler\n", errno ));
+ PRINT_ERROR (("Error %d fetching signal handler\n", errno ));
}
else
{
@@ -331,7 +331,7 @@ set_sig_handler (int sig, void (*action)(int))
act.sa_flags = 0;
if (sigaction (sig, &act, NULL))
{
- PRINT_ERROR (("Error %d setting SIGALRM handler\n", errno ));
+ PRINT_ERROR (("Error %d setting signal handler\n", errno ));
}
}
}