# HG changeset patch # User Matti Hamalainen # Date 1526011957 -10800 # Node ID 3223d01ac8e82e8696e59237bba5d98ef6c5cc5a # Parent 32640e1934d57089ac24cc6295ac9feb20a75972 Fix some blunders in encode/decode error messages. diff -r 32640e1934d5 -r 3223d01ac8e8 tools/lib64gfx.c --- a/tools/lib64gfx.c Fri May 11 07:07:40 2018 +0300 +++ b/tools/lib64gfx.c Fri May 11 07:12:37 2018 +0300 @@ -1586,7 +1586,7 @@ if (img->extraData[op->bank] == NULL) { res = dmError(DMERR_NULLPTR, - "DT_EXTRA_DATA block is NULL in ", + "DT_EXTRA_DATA block is NULL in " "op #%d, offs=%d ($%04x), bank=%d, size=%d ($%04x) @ %d ($%04x)\n", i, op->offs, op->offs, op->bank, size, size, buf->len, buf->len); goto err; @@ -1594,7 +1594,7 @@ if (size > img->extraDataSizes[op->bank]) { res = dmError(DMERR_INTERNAL, - "DT_EXTRA_DATA size mismatch %d <> %d in ", + "DT_EXTRA_DATA size mismatch %d <> %d in " "op #%d, offs=%d ($%04x), bank=%d, size=%d ($%04x) @ %d ($%04x)\n", op->size, img->extraDataSizes[op->bank], i, op->offs, op->offs, op->bank, size, size, buf->len, buf->len); goto err; @@ -1613,7 +1613,7 @@ case DC_D024: *dst = img->d024; break; default: res = dmError(DMERR_INTERNAL, - "Unhandled DT_COLOR_REG mode %d in ", + "Unhandled DT_COLOR_REG mode %d in " "op #%d, offs=%d ($%04x), bank=%d, size=%d ($%04x) @ %d ($%04x)\n", op->size, i, op->offs, op->offs, op->bank, size, size, buf->len, buf->len); goto err;