OSDN Git Service

* mount.cc (mount_info::from_fstab): Change system_printf to
authorcorinna <corinna>
Thu, 24 Jul 2008 18:32:41 +0000 (18:32 +0000)
committercorinna <corinna>
Thu, 24 Jul 2008 18:32:41 +0000 (18:32 +0000)
debug_printf on NtOpenFile failure.

winsup/cygwin/ChangeLog
winsup/cygwin/mount.cc

index 4c844be..d32bd7b 100644 (file)
@@ -1,5 +1,10 @@
 2008-07-24  Corinna Vinschen  <corinna@vinschen.de>
 
+       * mount.cc (mount_info::from_fstab): Change system_printf to
+       debug_printf on NtOpenFile failure.
+
+2008-07-24  Corinna Vinschen  <corinna@vinschen.de>
+
        * shared.cc (user_shared_initialize): Fetch potentially changed Cygwin
        username from /etc/passwd before loading mount table.
        (shared_info::init_installation_root): New function fetching Cygwin's
index 4ef1f0f..e754d56 100644 (file)
@@ -734,7 +734,7 @@ mount_info::from_fstab (bool user, WCHAR fstab[], PWCHAR fstab_end)
                       FILE_SHARE_VALID_FLAGS, FILE_SYNCHRONOUS_IO_NONALERT);
   if (!NT_SUCCESS (status))
     {
-      system_printf ("NtOpenFile(%S) failed, %p", &upath, status);
+      debug_printf ("NtOpenFile(%S) failed, %p", &upath, status);
       return false;
     }