2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>

* libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix
	warnings.
This commit is contained in:
Joel Sherrill
2008-08-19 18:47:54 +00:00
parent 1a7c300001
commit 930775ddb7
3 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix
warnings.
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/rpcio.c:

View File

@@ -702,7 +702,7 @@ static int
sysctl_sysctl_name2oid(SYSCTL_HANDLER_ARGS)
{
char *p;
int error, oid[CTL_MAXNAME], len;
int error, oid[CTL_MAXNAME], len=0;
struct sysctl_oid *op = 0;
if (!req->newlen)

View File

@@ -726,9 +726,9 @@ loc_aton(ascii, binary)
cp = ascii;
maxcp = cp + strlen(ascii);
lltemp1 = latlon2ul(&cp, &which1);
lltemp1 = latlon2ul((char **)&cp, &which1);
lltemp2 = latlon2ul(&cp, &which2);
lltemp2 = latlon2ul((char **)&cp, &which2);
switch (which1 + which2) {
case 3: /* 1 + 2, the only valid combination */