add an hostapd-mini package with WPA support only, and move hostapd_cli in a
[openwrt.git] / package / nfs-server / patches / remove-warning.patch
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
3 @@ -238,19 +238,23 @@
4
5 /* First, set the user ID. */
6 if (auth_uid != cred_uid) {
7 - if (setfsuid(cred_uid) < 0)
8 + if (setfsuid(cred_uid) < 0) {
9 +#if 0
10 Dprintf(L_ERROR, "Unable to setfsuid %d: %s\n",
11 cred_uid, strerror(errno));
12 - else
13 +#endif
14 + } else
15 auth_uid = cred_uid;
16 }
17
18 /* Next, the group ID. */
19 if (auth_gid != cred_gid) {
20 - if (setfsgid(cred_gid) < 0)
21 + if (setfsgid(cred_gid) < 0) {
22 +#if 0
23 Dprintf(L_ERROR, "Unable to setfsgid %d: %s\n",
24 cred_gid, strerror(errno));
25 - else
26 +#endif
27 + } else
28 auth_gid = cred_gid;
29 }
30
This page took 0.049559 seconds and 5 git commands to generate.