harmonize messages

This commit is contained in:
marschap
2006-04-08 17:29:44 +00:00
parent 2e7305d540
commit a92603f96e
+5 -1
View File
@@ -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
}