- p += sprintf(p, ", %s", model_description[i].name);
- sprintf(p, ".\n (use 'help' as a value to see the long description of each %s)", name);
+ p += snprintf(p,1024, ", %s", model_description[i].name);
+ snprintf(p,1024, ".\n (use 'help' as a value to see the long description of each %s)", name);