Missing parameter in fp_err call

This commit is contained in:
Gordon Stratton 2008-10-31 23:36:55 +00:00 committed by Daniel Drake
parent 6b8b17f575
commit d94ffa22d5

View file

@ -319,7 +319,7 @@ void fpi_log(enum fpi_log_level level, const char *component,
static void register_driver(struct fp_driver *drv)
{
if (drv->id == 0) {
fp_err("not registering driver %s: driver ID is 0");
fp_err("not registering driver %s: driver ID is 0", drv->name);
return;
}
registered_drivers = g_slist_prepend(registered_drivers, (gpointer) drv);