From c30a7b2005ab578b3e707ea30dae5dca8cde0d5f Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Wed, 17 Apr 2024 18:12:11 +0100 Subject: [PATCH] Update error message for failed memory allocation --- src/avrftdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/avrftdi.c b/src/avrftdi.c index b69b09f0..98a9e52f 100644 --- a/src/avrftdi.c +++ b/src/avrftdi.c @@ -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);