fix typo in obviously never used sysctl case

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10134 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2001-06-20 00:00:38 +00:00
parent c53a2134ed
commit 7e7111d259

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska H<>gskolan
* Copyright (c) 1995-2001 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -82,7 +82,7 @@ int getdtablesize(void)
mib[0] = CTL_KERN;
mib[1] = KERN_MAXFILES;
len = sizeof(files);
sysctl(&mib, 2, &files, sizeof(nfil), NULL, 0);
sysctl(&mib, 2, &files, sizeof(files), NULL, 0);
#endif /* defined(HAVE_SYSCTL) */
#endif /* !definded(HAVE_GETRLIMIT) */
#endif /* !defined(HAVE_SYSCONF) */