Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
clean: show an error message when the path is too long
[gitweb.git]
/
sigchain.c
diff --git
a/sigchain.c
b/sigchain.c
index 2ac43bbd282492e3c35c6ac5f96b14a541ed74c6..022677b6abaf918f51804a8fcbf18776aa3f2be5 100644
(file)
--- a/
sigchain.c
+++ b/
sigchain.c
@@
-13,7
+13,7
@@
static struct sigchain_signal signals[SIGCHAIN_MAX_SIGNALS];
static void check_signum(int sig)
{
if (sig < 1 || sig >= SIGCHAIN_MAX_SIGNALS)
-
die("BUG:
signal out of range: %d", sig);
+
BUG("
signal out of range: %d", sig);
}
int sigchain_push(int sig, sigchain_fun f)