[PATCH] typo in uidswap.c

Wilfredo Sanchez wsanchez at apple.com
Thu Dec 7 11:06:02 EST 2000


  Another nit.

	-Fred

Index: uidswap.c
===================================================================
RCS file: /cvs/Darwin/Services/OpenSSH/openssh/uidswap.c,v
retrieving revision 1.1.1.4
retrieving revision 1.4
diff -u -d -b -w -r1.1.1.4 -r1.4
--- uidswap.c   2000/12/06 21:56:45     1.1.1.4
+++ uidswap.c   2000/12/06 22:11:16     1.4
@@ -53,7 +53,7 @@
        /* Set the effective uid to the given (unprivileged) uid. */
        if (seteuid(uid) == -1)
                debug("seteuid %u: %.100s", (u_int) uid, strerror(errno));
-#else /* SAVED_IDS_WORK_WITH_SETUID */
+#else /* SAVED_IDS_WORK_WITH_SETEUID */
        /* Propagate the privileged uid to all of our uids. */
        if (setuid(geteuid()) < 0)
                debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno));

Wilfredo Sánchez, wsanchez at apple.com
Open Source Engineering Lead
Apple Computer, Inc., Core Operating System Group
1 Infinite Loop, Cupertino, CA 94086, 408.974-5174





More information about the openssh-unix-dev mailing list