Commit e5e0e07a authored by Thomas White's avatar Thomas White
Browse files

Improve error message in hdfile_get_string_value()

parent e6920a83
......@@ -2231,7 +2231,7 @@ char *hdfile_get_string_value(struct hdfile *f, const char *name,
break;
default :
ERROR("Don't know what to do!\n");
ERROR("Unrecognised type: %s\n", subst_name);
free(subst_name);
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment