Changeset 11174 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Aug 6, 2008 9:12:02 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/vboxmod.c
r10563 r11174 1069 1069 vboxDev->vmmdevmem, vboxDev->vmmdevmem_size, 1070 1070 vboxDev->hypervisorStart, vboxDev->hypervisorSize)); 1071 Log(("Successfully loaded VirtualBox deviceversion "1072 VBOX_VERSION_STRING " (interface " xstr(VMMDEV_VERSION) ")\n"));1071 printk(KERN_DEBUG "vboxadd: Successfully loaded version " 1072 VBOX_VERSION_STRING " (interface " xstr(VMMDEV_VERSION) ")\n"); 1073 1073 1074 1074 /* successful return */ … … 1079 1079 PCI_DEV_PUT(pcidev); 1080 1080 free_resources(); 1081 unregister_chrdev(vbox_major, "vboxadd"); 1081 if (vbox_major > 0) 1082 unregister_chrdev(vbox_major, "vboxadd"); 1083 else 1084 misc_deregister(&gMiscDevice); 1082 1085 return err; 1083 1086 } … … 1089 1092 static __exit void fini(void) 1090 1093 { 1091 unregister_chrdev(vbox_major, "vboxadd"); 1094 if (vbox_major > 0) 1095 unregister_chrdev(vbox_major, "vboxadd"); 1096 else 1097 misc_deregister(&gMiscDevice); 1092 1098 free_resources(); 1093 1099 vboxadd_cmc_fini ();
Note:
See TracChangeset
for help on using the changeset viewer.