svn commit: r213780 - head/sys/dev/hptrr
Rui Paulo
rpaulo at FreeBSD.org
Wed Oct 13 14:41:53 UTC 2010
Author: rpaulo
Date: Wed Oct 13 14:41:52 2010
New Revision: 213780
URL: http://svn.freebsd.org/changeset/base/213780
Log:
Pass a format string to make_dev().
Modified:
head/sys/dev/hptrr/hptrr_osm_bsd.c
Modified: head/sys/dev/hptrr/hptrr_osm_bsd.c
==============================================================================
--- head/sys/dev/hptrr/hptrr_osm_bsd.c Wed Oct 13 14:39:54 2010 (r213779)
+++ head/sys/dev/hptrr/hptrr_osm_bsd.c Wed Oct 13 14:41:52 2010 (r213780)
@@ -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)
More information about the svn-src-all
mailing list