VirtualBox

Changeset 5985 in vbox


Ignore:
Timestamp:
Dec 6, 2007 2:05:25 PM (17 years ago)
Author:
vboxsync
Message:

Linux support module: print version of module into kernel log when successfully loaded

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r5257 r5985  
    240240#endif /* CONFIG_X86_LOCAL_APIC */
    241241
     242#define xstr(s) str(s)
     243#define str(s) #s
    242244
    243245/*******************************************************************************
     
    637639                {
    638640                    dprintf(("VBoxDrv::ModuleInit returning %#x\n", rc));
     641                    printk(KERN_INFO DEVICE_NAME ": Successfully loaded version "
     642                           VBOX_VERSION_STRING " (" xstr(SUPDRVIOC_VERSION) ")\n");
    639643                    return rc;
    640644                }
     
    14211425MODULE_LICENSE("GPL");
    14221426#ifdef MODULE_VERSION
    1423 #define xstr(s) str(s)
    1424 #define str(s) #s
    14251427MODULE_VERSION(VBOX_VERSION_STRING " (" xstr(SUPDRVIOC_VERSION) ")");
    14261428#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette