From 787e2b3658f78bf5dc869d5642ded158cec38dc9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 13 May 2012 22:36:47 +0000 Subject: Fix potential NULL dereference. git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4391 a436a847-0d15-0410-975c-d299462d15a1 --- src/sratom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sratom.c b/src/sratom.c index 2e5ba22..dd13b1b 100644 --- a/src/sratom.c +++ b/src/sratom.c @@ -232,7 +232,7 @@ sratom_write(Sratom* sratom, language = serd_node_from_string( SERD_LITERAL, USTR(lang + prefix_len)); } else { - fprintf(stderr, "Unknown language URI <%s>\n", lang); + fprintf(stderr, "Unknown language URID %d\n", lit->lang); } } } else if (type_urid == sratom->forge.URID) { -- cgit v1.2.1