diff options
| author | Sean Farley <scf@FreeBSD.org> | 2007-09-22 02:30:44 +0000 | 
|---|---|---|
| committer | Sean Farley <scf@FreeBSD.org> | 2007-09-22 02:30:44 +0000 | 
| commit | 8e5b20fa9c48e70a31578d3272401b3e94b7f53d (patch) | |
| tree | b6303298a6a7544bb12b0524cd3d883e093fa26c /lib/libc/stdlib/getenv.c | |
| parent | a5423ea31315c7fda1456a427eea4cebc91ebbf2 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdlib/getenv.c')
| -rw-r--r-- | lib/libc/stdlib/getenv.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lib/libc/stdlib/getenv.c b/lib/libc/stdlib/getenv.c index 26de922b532a..2b7757ed3374 100644 --- a/lib/libc/stdlib/getenv.c +++ b/lib/libc/stdlib/getenv.c @@ -356,7 +356,8 @@ __build_env(void)  		activeNdx = envVarsTotal - 1;  		if (__findenv(envVars[envNdx].name, nameLen, &activeNdx,  		    false) == NULL) { -			warnx(CorruptEnvFindMsg, nameLen, envVars[envNdx].name); +			warnx(CorruptEnvFindMsg, (int)nameLen, +			    envVars[envNdx].name);  			errno = EFAULT;  			goto Failure;  		} | 
