cvs commit: src/sys/kern subr_bus.c

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 17 20:59:17 PST 2003


dillon      2003/11/17 20:58:19 PST

DragonFly src repository

  Modified files:
    sys/kern             subr_bus.c 
  Log:
  Correct several bugs.  If we fail to add a device be sure to delete its kobj.
  Remove a double kobj_init() call in make_device().  Replace a manual
  free() with a kobj_delete() call, and delete a kobj before reinitializing
  it.
  
  Revision  Changes    Path
  1.7       +6 -4      src/sys/kern/subr_bus.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_bus.c.diff?r1=1.6&r2=1.7&f=h





More information about the Commits mailing list