This commit is contained in:
Wolfgang Hottgenroth 2020-09-04 18:33:06 +02:00
parent 275b29e6a4
commit bb6682c385
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4

View File

@ -515,10 +515,9 @@ int main(int argc, char *argv[]) {
if (! loopActiveFlag) {
requestReturnCode = ERROR_LOOP_FAILURE;
}
errlog("error %04x occured\n", errno);
errlog("error %04x occured\n", requestReturnCode);
if (! hexOut) {
uint8_t maskedError = requestReturnCode;
fprintf(stdout, "%c%c", maskedError, 0);
fprintf(stdout, "%c%c", requestReturnCode, 0);
fflush(stdout);
}
if (! lineMode) {