rem: "\n%s: getparm(): (a) protocol error, "
add: "\n%s: stk500_getparm(): (a) protocol error, "
context: static int stk500_getparm(PROGRAMMER * pgm, unsigned parm, unsigned * value){  unsigned char buf[16];  unsigned v;  int tries = 0; retry:  tries++;  buf[0] = Cmnd_STK_GET_PARAMETER;  buf[1] = parm;  buf[2] = Sync_CRC_EOP;  stk500_send(pgm, buf, 3);  stk500_recv(pgm, buf, 1);  if (buf[0] == Resp_STK_NOSYNC) {    if (tries > 33) {      fprintf(stderr, "\n%s: getparm(): can't get into sync\n",              progname);      return -1;    }    stk500_getsync(pgm);    goto retry;  }  else if (buf[0] != Resp_STK_INSYNC) {    fprintf(stderr,            "\n%s: getparm(): (a) protocol error, "            "expect=0x%02x, resp=0x%02x\n",             progname, Resp_STK_INSYNC, buf[0]);    return -2;  }  stk500_recv(pgm, buf, 1);  v = buf[0];  stk500_recv(pgm, buf, 1);  if (buf[0] == Resp_STK_FAILED) {    fprintf(stderr,            "\n%s: getparm(): parameter 0x%02x failed\n",            progname, v);    return -3;  }  else if (buf[0] != Resp_STK_OK) {    fprintf(stderr,            "\n%s: getparm(): (a) protocol error, "            "expect=0x%02x, resp=0x%02x\n",             progname, Resp_STK_INSYNC, buf[0]);    return -3;  }  *value = v;  return 0;}