aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/fhandler_proc.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-09-03 01:53:12 +0000
committerChristopher Faylor <me@cgf.cx>2004-09-03 01:53:12 +0000
commit0cd9f74fa5f16ff9573ae52a01296b90b02a9324 (patch)
tree5eefd8af91f99ee4a81ed759f1ef0f52b7bbfd3b /winsup/cygwin/fhandler_proc.cc
parent6644c628f58d55c3dd1176d5800adbdbac08a296 (diff)
downloadnewlib-0cd9f74fa5f16ff9573ae52a01296b90b02a9324.zip
newlib-0cd9f74fa5f16ff9573ae52a01296b90b02a9324.tar.gz
newlib-0cd9f74fa5f16ff9573ae52a01296b90b02a9324.tar.bz2
Regularize most strace_prints throughout so that %E is always preceded by a
comma and elminate most uses of "foo = %s" to "foo %s".
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r--winsup/cygwin/fhandler_proc.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 492e86c..464d67d 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -465,8 +465,7 @@ format_proc_uptime (char *destbuf, size_t maxsize)
else if (ret != STATUS_SUCCESS)
{
__seterrno_from_win_error (RtlNtStatusToDosError (ret));
- debug_printf("NtQuerySystemInformation: ret = %d, "
- "Dos(ret) = %d",
+ debug_printf("NtQuerySystemInformation: ret %d, Dos(ret) %d",
ret, RtlNtStatusToDosError (ret));
return 0;
}
@@ -503,8 +502,7 @@ format_proc_stat (char *destbuf, size_t maxsize)
!= STATUS_SUCCESS)
{
__seterrno_from_win_error (RtlNtStatusToDosError (ret));
- debug_printf ("NtQuerySystemInformation: ret = %d, "
- "Dos(ret) = %d",
+ debug_printf ("NtQuerySystemInformation: ret %d, Dos(ret) %d",
ret, RtlNtStatusToDosError (ret));
sbi.NumberProcessors = 1;
}
@@ -546,8 +544,7 @@ format_proc_stat (char *destbuf, size_t maxsize)
if (ret != STATUS_SUCCESS)
{
__seterrno_from_win_error (RtlNtStatusToDosError (ret));
- debug_printf("NtQuerySystemInformation: ret = %d, "
- "Dos(ret) = %d",
+ debug_printf("NtQuerySystemInformation: ret %d, Dos(ret) %d",
ret, RtlNtStatusToDosError (ret));
return 0;
}