mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-24 01:56:25 +03:00
Update error message for failed memory allocation
This commit is contained in:
@@ -1240,7 +1240,7 @@ static void avrftdi_setup(PROGRAMMER * pgm) {
|
||||
pdata->ftdic = ftdi_new();
|
||||
if(!pdata->ftdic)
|
||||
{
|
||||
pmsg_error("Error allocating memory.\n");
|
||||
pmsg_error("failed to allocate memory in ftdi_new()\n");
|
||||
exit(1);
|
||||
}
|
||||
E_VOID(ftdi_init(pdata->ftdic), pdata->ftdic);
|
||||
|
||||
Reference in New Issue
Block a user