Correct debugging output in seteuid32

Kazuhiro Fujieda fujieda@jaist.ac.jp
Thu Apr 14 04:59:00 GMT 2005


I'd submit a trivial patch after a long time.

2005-04-14  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>

	* syscalls.cc (setuid32): Correct debugging output.

Index: syscalls.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/syscalls.cc,v
retrieving revision 1.372
diff -u -u -r1.372 syscalls.cc
--- syscalls.cc	11 Apr 2005 21:54:54 -0000	1.372
+++ syscalls.cc	14 Apr 2005 04:45:38 -0000
@@ -1959,7 +1959,7 @@
 extern "C" int
 seteuid32 (__uid32_t uid)
 {
-  debug_printf ("uid: %u myself->gid: %u", uid, myself->gid);
+  debug_printf ("uid: %u myself->uid: %u", uid, myself->uid);
 
   if (uid == myself->uid && !cygheap->user.groups.ischanged)
     {

____
  | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology



More information about the Cygwin-patches mailing list