summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2008-05-12 20:29:34 +0200
committerAndre Noll <maan@systemlinux.org>2008-05-12 20:29:34 +0200
commita6727ed6659f287eb2a4f68ac5fbf3178f40498f (patch)
tree3880c484e6f11dd1dec1e5ad746a3fdae3e31bac /error.h
parentb0c424e83b666ec4bbd5c1566acc495d68c527e4 (diff)
Implement exit-hooks.
Diffstat (limited to 'error.h')
-rw-r--r--error.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/error.h b/error.h
index 6cb5deb..286db0e 100644
--- a/error.h
+++ b/error.h
@@ -65,7 +65,10 @@ static inline char *dss_strerror(int num)
DSS_ERROR(DUP_PIPE, "exec error: can not create pipe") \
DSS_ERROR(INVOLUNTARY_EXIT, "unexpected termination cause") \
DSS_ERROR(BAD_EXIT_CODE, "unexpected exit code") \
- DSS_ERROR(SIGNAL_SIG_ERR, "signal() returned SIG_ERR")
+ DSS_ERROR(SIGNAL_SIG_ERR, "signal() returned SIG_ERR") \
+ DSS_ERROR(SIGNAL, "caught terminating signal") \
+ DSS_ERROR(BUG, "values of beta might cause dom!") \
+
/**
* This is temporarily defined to expand to its first argument (prefixed by