summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/ntea.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2007-02-20 00:16:18 +0000
committerChristopher Faylor <me@cgf.cx>2007-02-20 00:16:18 +0000
commit510a85cbf974e4e1590a5eb625177795642ac9b8 (patch)
tree8c68ab8e8193d54a52f37ab507427ee6cfb62190 /winsup/cygwin/ntea.cc
parentb440e09025fc34d119c8f3f03a3ba6088e8c05ae (diff)
downloadcygnal-510a85cbf974e4e1590a5eb625177795642ac9b8.tar.gz
cygnal-510a85cbf974e4e1590a5eb625177795642ac9b8.tar.bz2
cygnal-510a85cbf974e4e1590a5eb625177795642ac9b8.zip
Remove extraneous whitespace.
* pinfo.cc (commune_process): Use default argument to lock_process. * sigproc.cc: Update copyright. * select.cc: Ditto.
Diffstat (limited to 'winsup/cygwin/ntea.cc')
-rw-r--r--winsup/cygwin/ntea.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/winsup/cygwin/ntea.cc b/winsup/cygwin/ntea.cc
index 72463feb0..becb8ab2e 100644
--- a/winsup/cygwin/ntea.cc
+++ b/winsup/cygwin/ntea.cc
@@ -67,12 +67,12 @@ read_ea (HANDLE hdl, const char *file, const char *attrname, char *attrbuf,
== INVALID_HANDLE_VALUE)
{
debug_printf ("Opening %s for querying EA %s failed, %E",
- file, attrname);
+ file, attrname);
goto out;
}
status = NtQueryEaFile (h, &io, fea, flen, FALSE, gea, glen, NULL, TRUE);
if (NT_SUCCESS (status) || !hdl)
- break;
+ break;
debug_printf ("1. chance, %x = NtQueryEaFile (%s, %s), Win32 error %d",
status, file, attrname, RtlNtStatusToDosError (status));
hdl = NULL;
@@ -96,7 +96,7 @@ read_ea (HANDLE hdl, const char *file, const char *attrname, char *attrbuf,
out:
debug_printf ("%d = read_ea (%x, %s, %s, %x, %d)", ret, hdl, file, attrname,
- attrbuf, len);
+ attrbuf, len);
return ret;
}
@@ -147,12 +147,12 @@ write_ea (HANDLE hdl, const char *file, const char *attrname,
== INVALID_HANDLE_VALUE)
{
debug_printf ("Opening %s for setting EA %s failed, %E",
- file, attrname);
+ file, attrname);
goto out;
}
status = NtSetEaFile (h, &io, fea, flen);
if (NT_SUCCESS (status) || !hdl)
- break;
+ break;
debug_printf ("1. chance, %x = NtQueryEaFile (%s, %s), Win32 error %d",
status, file, attrname, RtlNtStatusToDosError (status));
hdl = NULL;
@@ -167,6 +167,6 @@ write_ea (HANDLE hdl, const char *file, const char *attrname,
out:
debug_printf ("%d = write_ea (%x, %s, %s, %x, %d)", ret, hdl, file, attrname,
- attrbuf, len);
+ attrbuf, len);
return ret;
}