Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-11161

DPRINT fix: should use 'LastKnownGood' instead of 'Default'

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • 0.4.2
    • Bootloader
    • None

    Description

      reactos/trunk/reactos/boot/freeldr/freeldr/windows/registry.c

      (a path since 66145 - as I can see)
      Fix

      "RegQueryValue('Default') failed (Error %u)\n"
      as
      "RegQueryValue('LastKnownGood') failed (Error %u)\n"

      or even something more elegant.

      I had an
      ...\ReactOS-0.3.14\boot\freeldr\freeldr\reactos\registry.c

      DataSize = sizeof(ULONG);
      Error = RegQueryValue(SelectKey,
      L"LastKnownGood",
      NULL,
      (PUCHAR)&LastKnownGoodSet,
      &DataSize);
      if (Error != ERROR_SUCCESS)
      {
      ERR("RegQueryValue('Default') failed (Error %u)\n", (int)Error);

      Attachments

        Activity

          People

            Christoph_vW Christoph_vW
            mostly slow hiber-user mostly slow hiber-user
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: