int unhexdigit(int c) {
int d;
- if((d = unhexdigitq(c)) < 0) error(0, "invalid hex digit");
+ if((d = unhexdigitq(c)) < 0)
+ disorder_error(0, "invalid hex digit");
return d;
}
int d1, d2;
if((l = strlen(s)) & 1) {
- error(0, "hex string has odd length");
+ disorder_error(0, "hex string has odd length");
return 0;
}
p = buf = xmalloc_noptr(l / 2);