summaryrefslogtreecommitdiff
path: root/babeld/neighbour.c
diff options
context:
space:
mode:
Diffstat (limited to 'babeld/neighbour.c')
-rw-r--r--babeld/neighbour.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/neighbour.c b/babeld/neighbour.c
index 512b60e29a..83f05bb5cf 100644
--- a/babeld/neighbour.c
+++ b/babeld/neighbour.c
@@ -94,7 +94,7 @@ find_neighbour(const unsigned char *address, struct interface *ifp)
neigh = malloc(sizeof(struct neighbour));
if(neigh == NULL) {
- flog_err(BABEL_ERR_MEMORY, "malloc(neighbour): %s",
+ flog_err(EC_BABEL_MEMORY, "malloc(neighbour): %s",
safe_strerror(errno));
return NULL;
}