# HG changeset patch # User Matti Hamalainen # Date 1701283928 -7200 # Node ID 75382239c95c7e05dc0c7e366e3cf0323c0f3f64 # Parent da81e524162ed08f58c948058b07148cd93ded3f Print format name in Cosmos Designs Hires Manager RLE unpacker error messages. diff -r da81e524162e -r 75382239c95c tools/lib64fmts.c --- a/tools/lib64fmts.c Wed Nov 29 13:28:42 2023 +0200 +++ b/tools/lib64fmts.c Wed Nov 29 20:52:08 2023 +0200 @@ -1582,7 +1582,8 @@ if ((dstBuf = dmMalloc0(dstSize)) == NULL) { return dmError(DMERR_MALLOC, - "Could not allocate memory for RLE decoding buffer.\n"); + "%s: Could not allocate memory for RLE decoding buffer.\n", + fmt->name); } // Setup input and output offsets @@ -1602,7 +1603,8 @@ if (srcOffs < 3) { res = dmError(DMERR_INVALID_DATA, - "RLE: Invalid data/out of data for run sequence.\n"); + "%s: RLE: Invalid data/out of data for run sequence.\n", + fmt->name); goto out; }