VirtualBox

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

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

File:
1 edited

Legend:

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

    r87461 r88570  
    16781678                rc = register_filesystem(&g_vboxsf_fs_type);
    16791679                if (rc == 0) {
    1680                     printk(KERN_INFO "vboxsf: Successfully loaded version " VBOX_VERSION_STRING "\n");
     1680                    printk(KERN_INFO "vboxsf: Successfully loaded version " VBOX_VERSION_STRING " r" __stringify(VBOX_SVN_REV) "\n");
    16811681#ifdef VERMAGIC_STRING
    1682                     LogRel(("vboxsf: Successfully loaded version " VBOX_VERSION_STRING " on %s (LINUX_VERSION_CODE=%#x)\n",
     1682                    LogRel(("vboxsf: Successfully loaded version " VBOX_VERSION_STRING " r" __stringify(VBOX_SVN_REV) " on %s (LINUX_VERSION_CODE=%#x)\n",
    16831683                            VERMAGIC_STRING, LINUX_VERSION_CODE));
    16841684#elif defined(UTS_RELEASE)
    1685                     LogRel(("vboxsf: Successfully loaded version " VBOX_VERSION_STRING " on %s (LINUX_VERSION_CODE=%#x)\n",
     1685                    LogRel(("vboxsf: Successfully loaded version " VBOX_VERSION_STRING " r" __stringify(VBOX_SVN_REV) " on %s (LINUX_VERSION_CODE=%#x)\n",
    16861686                            UTS_RELEASE, LINUX_VERSION_CODE));
    16871687#else
    1688                     LogRel(("vboxsf: Successfully loaded version " VBOX_VERSION_STRING " (LINUX_VERSION_CODE=%#x)\n", LINUX_VERSION_CODE));
     1688                    LogRel(("vboxsf: Successfully loaded version " VBOX_VERSION_STRING " r" __stringify(VBOX_SVN_REV) " (LINUX_VERSION_CODE=%#x)\n", LINUX_VERSION_CODE));
    16891689#endif
    16901690                    return 0;
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