VirtualBox

Changeset 88569 in vbox for trunk/src


Ignore:
Timestamp:
Apr 16, 2021 4:25:05 PM (4 years ago)
Author:
vboxsync
Message:

Additions: Linux: vboxguest: print revision number as well as a version string on module load.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c

    r85698 r88569  
    668668                        {
    669669                            /* some useful information for the user but don't show this on the console */
    670                             LogRel((DEVICE_NAME ": Successfully loaded version " VBOX_VERSION_STRING "\n"));
     670                            LogRel((DEVICE_NAME ": Successfully loaded version " VBOX_VERSION_STRING " r" __stringify(VBOX_SVN_REV) "\n"));
    671671                            LogRel((DEVICE_NAME ": misc device minor %d, IRQ %d, I/O port %RTiop, MMIO at %RHp (size 0x%x)\n",
    672672                                    g_MiscDevice.minor, g_pPciDev->irq, g_IOPortBase, g_MMIOPhysAddr, g_cbMMIO));
    673673                            printk(KERN_DEBUG DEVICE_NAME ": Successfully loaded version "
    674                                    VBOX_VERSION_STRING " (interface " RT_XSTR(VMMDEV_VERSION) ")\n");
     674                                   VBOX_VERSION_STRING " r" __stringify(VBOX_SVN_REV) " (interface " RT_XSTR(VMMDEV_VERSION) ")\n");
    675675                            return rc;
    676676                        }
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