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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Fix Version/s: 0.4.2
    • Component/s: Bootloader
    • Labels:
    • Sprint:
      May 2016

      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

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

              Dates

              • Created:
                Updated:
                Resolved: