VirtualBox

Ignore:
Timestamp:
Dec 10, 2007 8:53:21 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26677
Message:

Linux additions: print VBox version and module interface version during module initialization; print information with DEBUG level not INFO level (thus prevent output to text console)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c

    r5999 r6042  
    4343// #define wchar_t linux_wchar_t
    4444
     45#define xstr(s) str(s)
     46#define str(s) #s
     47
    4548MODULE_DESCRIPTION ("Host file system access VFS for VirtualBox");
    4649MODULE_AUTHOR ("innotek GmbH");
    4750MODULE_LICENSE ("GPL");
    4851#ifdef MODULE_VERSION
    49 MODULE_VERSION(VBOX_VERSION_STRING);
     52MODULE_VERSION(VBOX_VERSION_STRING " (interface " xstr(VMMDEV_VERSION) ")");
    5053#endif
    5154
     
    431434        }
    432435
     436        printk(KERN_DEBUG
     437               "vboxvfs: Successfully loaded version " VBOX_VERSION_STRING
     438               " (interface " xstr(VMMDEV_VERSION) ")\n");
     439
    433440        return 0;
    434441
Note: See TracChangeset for help on using the changeset viewer.

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