summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter de Jong <walter@heiho.net>2013-03-22 22:14:22 +0100
committerWalter de Jong <walter@heiho.net>2013-03-22 22:14:22 +0100
commit1e044f4ad2c9001016271a368c63ff463f0dae4d (patch)
treebd7aaef92419ebdfd3d33239ab3d65b8e3b64300
parent4d47adcb65b549f33d8bb0eb4927439c8b40c35e (diff)
downloadpam_tacplus-1e044f4ad2c9001016271a368c63ff463f0dae4d.tar.gz
pam_tacplus-1e044f4ad2c9001016271a368c63ff463f0dae4d.zip
what does exit() do in a PAM module?
-rw-r--r--support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support.c b/support.c
index e92f596..6ae3375 100644
--- a/support.c
+++ b/support.c
@@ -49,7 +49,7 @@ void *_xcalloc (size_t size) {
register void *val = calloc (1, size);
if (val == 0) {
syslog (LOG_ERR, "xcalloc: calloc(1,%u) failed", (unsigned) size);
- exit (1);
+ abort();
}
return val;
}