1 --- nfs-server-2.2beta47.old/auth_clnt.c 1999-11-10 10:18:06.000000000 +0100
2 +++ nfs-server-2.2beta47/auth_clnt.c 2005-03-24 23:44:16.000000000 +0100
5 /* First, set the user ID. */
6 if (auth_uid != cred_uid) {
7 - if (setfsuid(cred_uid) < 0)
8 + if (setfsuid(cred_uid) < 0) {
10 Dprintf(L_ERROR, "Unable to setfsuid %d: %s\n",
11 cred_uid, strerror(errno));
18 /* Next, the group ID. */
19 if (auth_gid != cred_gid) {
20 - if (setfsgid(cred_gid) < 0)
21 + if (setfsgid(cred_gid) < 0) {
23 Dprintf(L_ERROR, "Unable to setfsgid %d: %s\n",
24 cred_gid, strerror(errno));