Formerly misc.c.~27~

This commit is contained in:
Roland McGrath 1993-08-01 20:03:45 +00:00
parent b018243a45
commit e813da324d

10
misc.c
View file

@ -509,9 +509,13 @@ log_access (flavor)
if (! debug_flag)
return;
printf ("%s access: user %d (real %d), group %d (real %d)\n",
flavor, geteuid (), getuid (), getegid (), getgid ());
fflush (stdout);
/* All the other debugging messages go to stdout,
but we write this one to stderr because it might be
run in a child fork whose stdout is piped. */
fprintf (stderr, "%s access: user %d (real %d), group %d (real %d)\n",
flavor, geteuid (), getuid (), getegid (), getgid ());
fflush (stderr);
}