summaryrefslogtreecommitdiff
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/driver.c b/driver.c
index f1afb5ec7..d8f4f1f15 100644
--- a/driver.c
+++ b/driver.c
@@ -125,16 +125,13 @@ void LoadDriver(int driver, const char *name)
for (dd = dc->descs; dd->name != NULL; dd++) {
err = dd->drv->start(NULL);
if (err == NULL) break;
- DEBUG(driver, 1) ("Probing %s driver \"%s\" failed with error: %s",
+ DEBUG(driver, 1, "Probing %s driver '%s' failed with error: %s",
dc->name, dd->name, err
);
}
- if (dd->name == NULL) {
- error("Couldn't find any suitable %s driver", dc->name);
- }
+ if (dd->name == NULL) error("Couldn't find any suitable %s driver", dc->name);
- DEBUG(driver, 1)
- ("Successfully probed %s driver \"%s\"", dc->name, dd->name);
+ DEBUG(driver, 1, "Successfully probed %s driver '%s'", dc->name, dd->name);
*dc->drv = dd->drv;
} else {