harmonize messages
This commit is contained in:
@@ -80,8 +80,10 @@ irmanin_init (Driver *drvthis)
|
||||
strncpy(p->device, drvthis->config_get_string(drvthis->name, "Device", 0,
|
||||
""), sizeof(p->device));
|
||||
p->device[sizeof(p->device)-1] = '\0';
|
||||
if (p->device[0] != '\0')
|
||||
if (p->device[0] != '\0') {
|
||||
report(RPT_INFO, "%s: using Device %s", drvthis->name, p->device);
|
||||
ptrdevice = p->device;
|
||||
}
|
||||
|
||||
/* What config file should be used */
|
||||
strncpy(p->config, drvthis->config_get_string(drvthis->name, "Config", 0,
|
||||
@@ -126,6 +128,8 @@ irmanin_init (Driver *drvthis)
|
||||
return -1;
|
||||
}
|
||||
|
||||
report(RPT_DEBUG, "%s: init() done", drvthis->name);
|
||||
|
||||
return 1; // return success
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user