From 931ecee52b038454778d8a3af6d60de7a98d5bbb Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 30 Nov 2016 09:25:33 +0100 Subject: [PATCH] idnode: show the collision in log, too --- src/idnode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/idnode.c b/src/idnode.c index 24077f64a5..100f08ab68 100644 --- a/src/idnode.c +++ b/src/idnode.c @@ -152,6 +152,8 @@ idnode_insert(idnode_t *in, const char *uuid, const idclass_t *class, int flags) if(c != NULL) { fprintf(stderr, "Id node collision (%s) %s\n", uuid, (flags & IDNODE_SHORT_UUID) ? " (short)" : ""); + tvherror("idnode", "Id node collision (%s) %s\n", + uuid, (flags & IDNODE_SHORT_UUID) ? " (short)" : ""); abort(); } tvhtrace("idnode", "insert node %s", idnode_uuid_as_str(in));