aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/security.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-09-03 08:18:41 +0000
committerCorinna Vinschen <corinna@vinschen.de>2004-09-03 08:18:41 +0000
commiteea5dd97074846b963da332c8659336762c8c20e (patch)
tree4dde896a615247f77ece620f9937e8847cd6cf07 /winsup/cygwin/security.cc
parent0cd9f74fa5f16ff9573ae52a01296b90b02a9324 (diff)
downloadnewlib-eea5dd97074846b963da332c8659336762c8c20e.zip
newlib-eea5dd97074846b963da332c8659336762c8c20e.tar.gz
newlib-eea5dd97074846b963da332c8659336762c8c20e.tar.bz2
* security.cc: Fix a few more strace_prints.
Diffstat (limited to 'winsup/cygwin/security.cc')
-rw-r--r--winsup/cygwin/security.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc
index 378be66..d6ff4f6 100644
--- a/winsup/cygwin/security.cc
+++ b/winsup/cygwin/security.cc
@@ -80,7 +80,7 @@ extract_nt_dom_user (const struct passwd *pw, char *domain, char *user)
domain[0] = 0;
strlcpy (user, pw->pw_name, UNLEN + 1);
- debug_printf ("pw_gecos = %x (%s)", pw->pw_gecos, pw->pw_gecos);
+ debug_printf ("pw_gecos %x (%s)", pw->pw_gecos, pw->pw_gecos);
if ((d = strstr (pw->pw_gecos, "U-")) != NULL &&
(d == pw->pw_gecos || d[-1] == ','))
@@ -1109,11 +1109,11 @@ read_sd (const char *file, security_descriptor &sd)
NULL, 0, &len)
&& GetLastError () != ERROR_INSUFFICIENT_BUFFER)
{
- debug_printf ("file = %s", file);
+ debug_printf ("file %s", file);
__seterrno ();
return -1;
}
- debug_printf ("file = %s: len=%d", file, len);
+ debug_printf ("file %s: len %d", file, len);
if (!sd.malloc (len))
{
set_errno (ENOMEM);
@@ -1313,7 +1313,7 @@ get_info_from_sd (PSECURITY_DESCRIPTOR psd, mode_t *attribute,
else
get_attribute_from_acl (attribute, acl, owner_sid, group_sid, grp_member);
- syscall_printf ("%sACL = %x, uid %d, gid %d",
+ syscall_printf ("%sACL %x, uid %d, gid %d",
(!acl_exists || !acl)?"NO ":"", *attribute, uid, gid);
return;
}