summaryrefslogtreecommitdiff
path: root/assoc.c
diff options
context:
space:
mode:
authorPaul Lindner <plindner@hi5.com>2007-04-12 20:02:46 +0000
committerPaul Lindner <plindner@hi5.com>2007-04-12 20:02:46 +0000
commitc8425072c56a9b609c358debc8201cfb54a61fed (patch)
treec1cf7b0236fc941110a575ae9d172ee84c1f539c /assoc.c
parentc0ec7b094099f86093087d981aafa9678d006c42 (diff)
downloadmemcached-c8425072c56a9b609c358debc8201cfb54a61fed.tar.gz
use EXIT_* constants
git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@500 b0b603af-a30f-0410-a34e-baf09ae79d0b
Diffstat (limited to 'assoc.c')
-rw-r--r--assoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/assoc.c b/assoc.c
index 271ba62..14f8f83 100644
--- a/assoc.c
+++ b/assoc.c
@@ -485,7 +485,7 @@ void assoc_init(void) {
primary_hashtable = malloc(hash_size);
if (! primary_hashtable) {
fprintf(stderr, "Failed to init hashtable.\n");
- exit(1);
+ exit(EXIT_FAILURE);
}
memset(primary_hashtable, 0, hash_size);
}