build: uname: avoid shadowing warning

* src/uname.c (main) [__APPLE__]: Rename inner "s" to "cs",
to avoid gcc shadowing warning.
This commit is contained in:
Jim Meyering committed 2014-05-26 08:01:09 -07:00
1 parent 442fafa54c
commit b50186ef7d
1 file changed
+2 -2
+2 -2
View File
@@ -321,9 +321,9 @@ main (int argc, char **argv)
if (element == unknown)
{
cpu_type_t cputype;
size_t s = sizeof cputype;
size_t cs = sizeof cputype;
NXArchInfo const *ai;
if (sysctlbyname ("hw.cputype", &cputype, &s, NULL, 0) == 0
if (sysctlbyname ("hw.cputype", &cputype, &cs, NULL, 0) == 0
&& (ai = NXGetArchInfoFromCpuType (cputype,
CPU_SUBTYPE_MULTIPLE))
!= NULL)