diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index 9f84c752ac7..c860d90a2e6 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -1048,7 +1048,7 @@ static HRESULT WINAPI domdoc_createCDATASection(
     xmlNodePtr xmlnode;
     xmlChar *xml_content;
 
-    TRACE("%p->(%s %p)\n", iface, debugstr_w(data), comment);
+    TRACE("%p->(%s %p)\n", iface, debugstr_w(data), cdata);
 
     if(!cdata)
         return E_INVALIDARG;