openbsd-ports/graphics/fxtv/patches/patch-tvutil_c
2002-09-17 11:38:33 +00:00

14 lines
428 B
Plaintext

$OpenBSD: patch-tvutil_c,v 1.3 2002/09/17 11:38:34 wcobb Exp $
--- tvutil.c.orig Sun Oct 22 23:43:46 2000
+++ tvutil.c Wed Aug 15 13:46:30 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;