summaryrefslogtreecommitdiff
path: root/lib/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/memory.c')
-rw-r--r--lib/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/memory.c b/lib/memory.c
index adf23b19..8ddf3f4d 100644
--- a/lib/memory.c
+++ b/lib/memory.c
@@ -40,7 +40,7 @@ static struct message mstr [] =
};
/* Fatal memory allocation error occured. */
-static void
+static void __attribute__ ((noreturn))
zerror (const char *fname, int type, size_t size)
{
zlog_err ("%s : can't allocate memory for `%s' size %d: %s\n",