]> sourceware.org Git - newlib-cygwin.git/commitdiff
* registry.cc (get_registry_hive_path): Change system_printf to
authorCorinna Vinschen <corinna@vinschen.de>
Sat, 7 May 2011 18:56:39 +0000 (18:56 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Sat, 7 May 2011 18:56:39 +0000 (18:56 +0000)
debug_printf.
(load_registry_hive): Ditto.

winsup/cygwin/ChangeLog
winsup/cygwin/registry.cc

index 50624fb62487331eb1243b20d1e6053d6b69a27d..19a709e82be3c34ed7b09d3111924a780c257abd 100644 (file)
@@ -1,3 +1,9 @@
+2011-05-07  Corinna Vinschen  <corinna@vinschen.de>
+
+       * registry.cc (get_registry_hive_path): Change system_printf to
+       debug_printf.
+       (load_registry_hive): Ditto.
+
 2011-05-06  Christopher Faylor  <me.cygwin2011@cgf.cx>
 
        * fhandler.h (fhandler_base::close_with_arch): Make non-virtual.
index 95abfe3cf018a2c1f1b6f34115dec8549ea3e52b..cd9f90b7167a66ae2c939f76ac454bd48b2dc557 100644 (file)
@@ -238,13 +238,13 @@ get_registry_hive_path (PCWSTR name, PWCHAR path)
                                   NULL, NULL);
   if (!NT_SUCCESS (status) || buf.Length == 0)
     {
-      system_printf ("ProfileImagePath for %W not found, status %p", name,
+      debug_printf ("ProfileImagePath for %W not found, status %p", name,
                    status);
       return NULL;
     }
   wcpcpy (path, L"\\??\\");
   ExpandEnvironmentStringsW (buf.Buffer, path + 4, NT_MAX_PATH - 4);
-  system_printf ("ProfileImagePath for %W: %W", name, path);
+  debug_printf ("ProfileImagePath for %W: %W", name, path);
   return path;
 }
 
@@ -277,9 +277,9 @@ load_registry_hive (PCWSTR name)
   /* Load file into key. */
   status = NtLoadKey (&key_attr, &path_attr);
   if (!NT_SUCCESS (status))
-    system_printf ("Loading user registry hive %S into %S failed: %p",
+    debug_printf ("Loading user registry hive %S into %S failed: %p",
                  &upath, &ukey, status);
   else
-    system_printf ("Loading user registry hive %S into %S SUCCEEDED: %p",
+    debug_printf ("Loading user registry hive %S into %S SUCCEEDED: %p",
                  &upath, &ukey, status);
 }
This page took 0.030097 seconds and 5 git commands to generate.