From e0fa82235a781437b8590c22ade6c0cd51b12e27 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 24 Jul 2008 18:32:41 +0000 Subject: [PATCH] * mount.cc (mount_info::from_fstab): Change system_printf to debug_printf on NtOpenFile failure. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/mount.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 4c844bebd..d32bd7b8d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2008-07-24 Corinna Vinschen + + * mount.cc (mount_info::from_fstab): Change system_printf to + debug_printf on NtOpenFile failure. + 2008-07-24 Corinna Vinschen * shared.cc (user_shared_initialize): Fetch potentially changed Cygwin diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc index 4ef1f0fe2..e754d5661 100644 --- a/winsup/cygwin/mount.cc +++ b/winsup/cygwin/mount.cc @@ -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; }