diff options
author | David Robillard <d@drobilla.net> | 2012-05-13 22:36:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-13 22:36:47 +0000 |
commit | 787e2b3658f78bf5dc869d5642ded158cec38dc9 (patch) | |
tree | d2fee20f7ddda68137d14c9b45ecb31d9047de77 | |
parent | 3fc7e1a5189eabb84c6bffb15603bc860f348c6a (diff) | |
download | sratom-787e2b3658f78bf5dc869d5642ded158cec38dc9.tar.gz sratom-787e2b3658f78bf5dc869d5642ded158cec38dc9.tar.bz2 sratom-787e2b3658f78bf5dc869d5642ded158cec38dc9.zip |
Fix potential NULL dereference.
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4391 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/sratom.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |