openbsd-ports/graphics/fxtv/patches/patch-tvutil_c
2001-03-07 07:55:57 +00:00

13 lines
427 B
Plaintext

$OpenBSD: patch-tvutil_c,v 1.1 2001/03/07 07:55:59 fgsch Exp $
--- tvutil.c.orig Sun Oct 22 23:43:46 2000
+++ tvutil.c Wed Mar 7 04:29:49 2001
@@ -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;