summaryrefslogtreecommitdiffstats
path: root/m_struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'm_struct.c')
-rw-r--r--m_struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/m_struct.c b/m_struct.c
index 670bfacf30..ecee1ad346 100644
--- a/m_struct.c
+++ b/m_struct.c
@@ -24,7 +24,7 @@ m_struct_alloc(m_struct_t* st) {
void* r;
if(!st->defaults) {
- mp_msg(MSGT_CFGPARSER, MSGL_ERR,"Struct %s need defaults\n");
+ mp_msg(MSGT_CFGPARSER, MSGL_ERR,"Struct %s needs defaults\n",st->name);
return NULL;
}
// Check the struct fields