Set opname on hfa devices without a serial number to a hex value based on time to not overflow the field.
diff --git a/driver-hashfast.c b/driver-hashfast.c
index c827715..363c769 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -333,7 +333,7 @@ static void hfa_choose_opname(struct cgpu_info *hashfast, struct hashfast_info *
cgtime(&tv_now);
usecs = (uint64_t)(tv_now.tv_sec) * (uint64_t)1000000 + (uint64_t)tv_now.tv_usec;
- sprintf(info->op_name, "%"PRIu64, usecs);
+ sprintf(info->op_name, "%lx", usecs);
}
memset(&nameframe, 0, sizeof(nameframe));
strncpy(nameframe.name, info->op_name, 32);