}
if (out < (int)strlen(buf)) {
- sr_dbg("Only sent %d/%d bytes of command: '%s'.", out,
+ sr_dbg("Only sent %d/%lu bytes of command: '%s'.", out,
strlen(buf), buf);
}
}
static int dummy(struct dev_context *devc) {
- (devc);
+ (void)devc;
return SR_ERR_NA;
}