22edabdcb4
These are no longer needed since unistd.h r1.63 et al. ok ajacoutot@
13 lines
427 B
Plaintext
13 lines
427 B
Plaintext
$OpenBSD: patch-tvutil_c,v 1.6 2012/02/21 22:19:31 sthen Exp $
|
|
--- tvutil.c.orig Mon Oct 23 04:43:46 2000
|
|
+++ tvutil.c Sat May 22 16:04:14 2010
|
|
@@ -114,7 +114,7 @@ void CleanupChildFileDesc()
|
|
#elif defined(__NetBSD__)
|
|
int mib[2] = { CTL_KERN, OPEN_MAX };
|
|
#elif defined(__OpenBSD__)
|
|
- int mib[2] = { CTL_KERN, OPEN_MAX };
|
|
+ int mib[2] = { CTL_KERN, KERN_MAXFILES };
|
|
#endif
|
|
int i;
|
|
size_t len;
|