---
syscalls/socket.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/syscalls/socket.c b/syscalls/socket.c
index 26e3a6e..3601c04 100644
--- a/syscalls/socket.c
+++ b/syscalls/socket.c
@@ -47,7 +47,7 @@ void sanitise_socket(int childno)
if (do_specific_proto == TRUE)
family = specific_proto;
else
- family = rand() % PF_MAX;
+ family = rand() % TRINITY_PF_MAX;
type = rand() % TYPE_MAX;
protocol = rand() % PROTO_MAX;
--
1.8.1.4
--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html