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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to