diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-05-07 18:56:39 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-05-07 18:56:39 +0000 |
commit | b6a46e417b4f124a041e3820d041dc1917fdffb5 (patch) | |
tree | d87ccae615a137206c65ad9d65de7205deb7ed12 | |
parent | c395d22876640ab21fee7a2b1862f6330261116f (diff) | |
download | cygnal-b6a46e417b4f124a041e3820d041dc1917fdffb5.tar.gz cygnal-b6a46e417b4f124a041e3820d041dc1917fdffb5.tar.bz2 cygnal-b6a46e417b4f124a041e3820d041dc1917fdffb5.zip |
* registry.cc (get_registry_hive_path): Change system_printf to
debug_printf.
(load_registry_hive): Ditto.
-rw-r--r-- | winsup/cygwin/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/cygwin/registry.cc | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 50624fb62..19a709e82 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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. diff --git a/winsup/cygwin/registry.cc b/winsup/cygwin/registry.cc index 95abfe3cf..cd9f90b71 100644 --- a/winsup/cygwin/registry.cc +++ b/winsup/cygwin/registry.cc @@ -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); } |