Pass a format string to make_dev().

This commit is contained in:
Rui Paulo 2010-10-13 14:41:52 +00:00
parent 577fedb6b1
commit 30aa84b727

View File

@ -1178,7 +1178,7 @@ static void hpt_final_init(void *dummy)
}
make_dev(&hpt_cdevsw, DRIVER_MINOR, UID_ROOT, GID_OPERATOR,
S_IRUSR | S_IWUSR, driver_name);
S_IRUSR | S_IWUSR, "%s", driver_name);
}
#if defined(KLD_MODULE) && (__FreeBSD_version >= 503000)